andreypopp / reactify

[DEPRECATED] Browserify transform for JSX (superset of JavaScript used in React library by Facebook)
MIT License
690 stars 68 forks source link

Avoid exiting process on error? #34

Closed Fishrock123 closed 9 years ago

Fishrock123 commented 9 years ago

I'm not too familiar with the internals here, but we use it with gulp-watch and sometimes what we save doesn't work yet, and so reactify crashes my watching gulp process and I have to restart it.

If it could just print the error, the lines that it is on, and then bail, that would be appreciated.

andreypopp commented 9 years ago

I'm not sure how gulp + browserify work but reactify emits error event on error and you probably want to subscribe to it and print to console... I've never experienced this behaviour while using browserify or watchify programatically or from command line.

andreypopp commented 9 years ago

Also https://github.com/floatdrop/gulp-plumber

andreypopp commented 9 years ago

Closing as it seems to be Gulp specific.