From cbddff70e6b07717b52664cdf472bb062067eadd Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 19 Oct 2014 14:21:24 +0200 Subject: [PATCH] Better error handling when compiling the view --- src/gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gulpfile.js b/src/gulpfile.js index 5311ecd..151ceb3 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -35,6 +35,7 @@ gulp.task('view', function() { gulp.src(paths.view) .pipe(plugins.concat('view.js', {newLine: "\n"})) .pipe(plugins.uglify()) + .on('error', catchError) .pipe(gulp.dest('../dist/')); });