-
Notifications
You must be signed in to change notification settings - Fork 24
throwOnError defaults to false, should it be true? #69
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
Comments
I thought I made it default to true if NODE_ENV=production it is annoying to have the build fail for a typo during development instead of emitting as many files as it can. |
I can update it to check EMBER_ENV too, but I wish we'd adopt NODE_ENV |
Hmm, throwing wont crash a running |
Typing errors are different than babel errors and typescript is better at emitting useable code on error that often you want to inspect on the console to address type errors especially when you are trying to derive the types. |
Seems like you have thought this through a bit more than me. I still don’t think I agree (maybe just my own ignorance in typescripts ways), but thank you for explaining the reasoning behind it being enabled only for production. |
cc @krisselden
The text was updated successfully, but these errors were encountered: