Better error handling when compiling the view

This commit is contained in:
Tobias Reich 2014-10-19 14:21:24 +02:00
parent b86108d2be
commit cbddff70e6

View File

@ -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/'));
});