Answer the question
In order to leave comments, you need to log in
Has anyone encountered this error and how to solve it?
PS D:\sass> gulp serve
[23:03:07] Using gulpfile D:\sass\gulpfile.js
[23:03:07] Starting 'serve'...
[23:03:07] 'serve' errored after 15 ms
[23:03:07] Error: watching scss/**/*.scss: watch task has to be a function (optionally generated by using gulp.parallel or gulp.series)
at Gulp.watch (D:\ sass\node_modules\gulp\index.js:28:11)
at D:\sass\gulpfile.js:31:10
at taskWrapper (D:\sass\node_modules\undertaker\lib\set-task.js:13:15 )
at bound (domain.js:402:14)
at runBound (domain.js:415:12)
at asyncRunner (D:\sass\node_modules\async-done\index.js:55:18)
at process._tickCallback ( internal/process/next_tick.js:61:11)
PS D:\sass>
Answer the question
In order to leave comments, you need to log in
Have you read here? https://www.browsersync.io/docs/gulp
Your return value is incorrect for pipe. Read for gulp 4.xx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question