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

Stop "gulp watch" from crashing on an undefined variable #89

Merged
merged 1 commit into from
Jul 3, 2015
Merged

Conversation

jawinn
Copy link
Contributor

@jawinn jawinn commented Jul 3, 2015

If you're using "gulp watch", and happen to type a variable that's undefined, it will stop with an error about an unhandled error. The fix is to pass gulp-plumber an error callback (Solution found here: yeoman/generator-webapp#154 (comment)).

Now instead of stopping, it will provide the error text in red, in the commandline.

If you're using "gulp watch", and happen to type a variable that's undefined, it will stop with an error about an unhandled error. The fix is to  pass gulp-plumber an error callback (Solution found here: yeoman/generator-webapp#154 (comment)).

Now instead of stopping, it will provide the error text in red, in the commandline.
@JeremyEnglert
Copy link
Owner

Awesome - huge thanks! 👍

@JeremyEnglert JeremyEnglert reopened this Jul 3, 2015
JeremyEnglert pushed a commit that referenced this pull request Jul 3, 2015
Stop "gulp watch" from crashing on an undefined variable
@JeremyEnglert JeremyEnglert merged commit 260c972 into JeremyEnglert:master Jul 3, 2015
@jawinn jawinn deleted the patch-2 branch July 3, 2015 14:51
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.

2 participants