Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Prevent gulp from stopping because of errors #5

Merged
merged 1 commit into from
Mar 19, 2014
Merged

Conversation

wookiehangover
Copy link
Contributor

What does it do?

Adds an uncaughtException handler to gulp that prevents the process from exiting due to compile errors.

Where should the reviewer start?

gulpfile.coffee

How should it be manually tested?

Start the watch task with gulp, add some broken CoffeeScript to one of the watched files, watch the build process keep on going.

Any background context you want to provide?

Having to restart the gulp build every time a file gets saved with invalid / breaking CoffeeScript is annoying, @sinan had mentioned that this would be a "nice to have" -- and after today's nth gulp restart I decided to add it :)

I talked with some of the Gulp devs in IRC, and they said that this type of error handling for watch tasks will be handled in a future release

sinan added a commit that referenced this pull request Mar 19, 2014
Prevent gulp from stopping because of errors
@sinan sinan merged commit f552af9 into master Mar 19, 2014
@sinan sinan deleted the catch-gulp-exceptions branch March 19, 2014 00:22
sinan pushed a commit to sinan/kd that referenced this pull request Mar 10, 2015
windowController: window focus/blur handling improved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants