-
Notifications
You must be signed in to change notification settings - Fork 236
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
Make sass errors stop Gulp to make them clearer #977
Conversation
slightly odd, when I force this error:
I get a segmentation fault from Gulp, which seems a bit wrong
|
Approach 2tried a slightly different approach and it outputs this which I think is slightly better? Would prefer without the stack trace code:
output:
|
Approach 3forcing code:
output:
|
Gulp has an open issue to document how to handle errors, but it's 6 years old now |
we discussed this on the team - concerned that a total exit might be annoying for users - they would have to fix the sass and restart the kit. Going to investigate options where users only have to fix the sass. |
Closing in favour of #990 |
attempt to fix #295
on a sass error, the Prototype Kit now exits (no prototype will appear in the browser)
please note there are 2 other approaches discussed in the comments below
it would be nice to clean up the error, I think we just need
messageFormatted
, it currently looks like this: