Skip to content

Commit

Permalink
Better error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 5, 2016
1 parent 9461e24 commit d61e18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ gulp.task 'js i18n', ->
.pipe addsrc "#{src.js.i18n.languages.path}/index.coffee"
.pipe addsrc "#{src.js.i18n.languages.path}/#{lang}.coffee"
.pipe changed dist.js
.pipe coffee()
.pipe coffee().on 'error', gutil.log
.pipe addsrc src.js.vendor
.pipe concat dist.name + ".#{lang}.js"
.pipe uglify()
Expand All @@ -92,7 +92,7 @@ gulp.task 'js i18n', ->
gulp.task 'js default', ->
gulp.src src.js.main
.pipe changed dist.js
.pipe coffee()
.pipe coffee().on 'error', gutil.log
.pipe addsrc src.js.vendor
.pipe concat dist.name + ".js"
.pipe uglify()
Expand Down

0 comments on commit d61e18a

Please sign in to comment.