diff --git a/gulpfile.js b/gulpfile.js index 2e873ced..7fca571c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -15,8 +15,8 @@ gulp.task('less', function (cb) { gulp.task( 'default', - gulp.series('less', function (cb) { - gulp.watch('styles/**/*.less', gulp.series('less')); - cb(); + gulp.series('less', function () { + return gulp.watch('styles/**/*.less', gulp.series('less')) + .on('error', console.error.bind(console)); }) );