I was using gulp-plumber for months on NodeJS version of 0.10.40. And upon upgrading to latest version of NodeJs 4.2.1, it no longer works. When I am running a task with gulp-watch and a file is updated, it crashes with:
C:\dev\website\node_modules\gulp-ng-annotate\index.js:48
if (file.isNull()) {
^
TypeError: file.isNull is not a function
at Transform._transform (C:\dev\website\node_modules\gulp-ng-annotate\index.js:48:14)
at Transform._read (C:\dev\website\node_modules\gulp-ng-annotate\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10)
at Transform._write (C:\dev\website\node_modules\gulp-ng-annotate\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12)
at doWrite (C:\dev\website\node_modules\gulp-ng-annotate\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:237:10)
at writeOrBuffer (C:\dev\website\node_modules\gulp-ng-annotate\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:227:5)
at Transform.Writable.write (C:\dev\website\node_modules\gulp-ng-annotate\node_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:194:11)
at write (C:\dev\website\node_modules\gulp-plumber\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:623:24)
at flow (C:\dev\website\node_modules\gulp-plumber\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:632:7)
at C:\dev\website\node_modules\gulp-plumber\node_modules\through2\node_modules\readable-stream\lib\_stream_readable.js:600:7
at doNTCallback0 (node.js:417:9)
I was using gulp-plumber for months on NodeJS version of 0.10.40. And upon upgrading to latest version of NodeJs 4.2.1, it no longer works. When I am running a task with gulp-watch and a file is updated, it crashes with:
Edit: works when I rollback gulp-watch to 1.2.1.