-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
I have the following gulp js code using the gulp-coffee plugin:
gulp.src('./**/*.coffee')
.pipe(coffee({bare: true}))
.on('error', gutil.log)
.on('error', gutil.beep)
.pipe(gulp.dest(destDir));
Whenever gulp-coffee throws an error (e.g. invalid coffee syntax), it stops the rest of valid coffee files from 'piping' through; even though the error is caught.
To clarify this, here is a sample file queued via gulp.src
:
A.coffee (processed)
B.coffee (error and stops the rest of the stream)
C.coffee (not processed)
Is there a way to 'continue' the stream?
Metadata
Metadata
Assignees
Labels
No labels