Skip to content

Commit

Permalink
Fix Gulp setup to continue watching after CoffeeScript compilation er…
Browse files Browse the repository at this point in the history
…rors.

Seems like I came across [this issue](floatdrop/gulp-plumber#8).
  • Loading branch information
PaulPorfiroff committed Dec 5, 2015
1 parent 0653aa7 commit bfff68d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ CSON = require 'season'

gulp.task 'build-grammars', ->
gulp.src './src/grammars/*.coffee'
.pipe plumber()
.pipe plumber (error) ->
console.log error.toString()
@emit('end')
.pipe coffeelint()
.pipe coffeelint.reporter()
.pipe coffeelint.reporter('fail')
Expand Down

0 comments on commit bfff68d

Please sign in to comment.