From 21ad53d8cea823eb456f76f08bd89e98afc8febd Mon Sep 17 00:00:00 2001 From: Brandon Paterak Date: Wed, 27 Apr 2016 11:16:40 -0400 Subject: [PATCH] added a steam end to gulp-less to prevent less errors stopping watch --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 9591d3c0..93e72983 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -91,7 +91,7 @@ function _less() { './src/main/less/style.less' ]) .pipe(less()) - .on('error', log) + .on('error', function(err){ log(err); this.emit('end');}) .pipe(gulp.dest('./src/main/html/css/')) .pipe(connect.reload()); }