added a steam end to gulp-less to prevent less errors stopping watch
This commit is contained in:
@@ -91,7 +91,7 @@ function _less() {
|
|||||||
'./src/main/less/style.less'
|
'./src/main/less/style.less'
|
||||||
])
|
])
|
||||||
.pipe(less())
|
.pipe(less())
|
||||||
.on('error', log)
|
.on('error', function(err){ log(err); this.emit('end');})
|
||||||
.pipe(gulp.dest('./src/main/html/css/'))
|
.pipe(gulp.dest('./src/main/html/css/'))
|
||||||
.pipe(connect.reload());
|
.pipe(connect.reload());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user