Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear TS output even where there are TS type errors #104

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

mcintyre94
Copy link
Contributor

Closes #102

I think this makes the behaviour a bit more intuitive. This change means that if there is existing output, and then new code is run that has type errors, the result is that we have errors and no output. Previously the existing output would be retained - meaning the errors and outputs came from different code.

Video showing the new behaviour:

Screen.Recording.2021-10-21.at.22.16.55.mov

This PR also adds a call to npx lerna bootstrap in contributing.md, which is required before calling yarn build.

@vercel
Copy link

vercel bot commented Oct 21, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/sliphq/run-wasm/B8AJfTfKiPUYW1vYCfbzsHVMRejd
✅ Preview: https://run-wasm-git-fork-mcintyre94-cm-102-ts-errors-cle-06cf6c-sliphq.vercel.app

@kennethcassel
Copy link
Contributor

yeah this is much more intuitive. Thanks Callum!

@kennethcassel kennethcassel merged commit d341405 into slipHQ:main Oct 21, 2021
@mcintyre94 mcintyre94 deleted the cm-102-ts-errors-clear-output branch April 12, 2022 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If there are TS errors then the output isn't cleared
2 participants