From d61e18ad2a0fddd89c1e2d0406bc68bb41548e3d Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Tue, 5 Jan 2016 15:26:50 +0100 Subject: [PATCH] Better error logging --- gulpfile.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.coffee b/gulpfile.coffee index a547280..4d99969 100755 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -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() @@ -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()