Browse Source

Better error handling when compiling the view

Tobias Reich 9 years ago
parent
commit
cbddff70e6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/gulpfile.js

+ 1 - 0
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/'));
 
 });