Gulp error: watch task has to be a function

后端 未结 5 988
花落未央
花落未央 2020-12-07 08:33

Here is my gulpfile:

// Modules & Plugins
var gulp = require(\'gulp\');
var concat = require(\'gulp-concat\');
var myth = require(\'gulp-myth\');
var ugl         


        
5条回答
  •  囚心锁ツ
    2020-12-07 09:03

    thanks for all

    gulp.task('watch', function(){
        gulp.watch('app/sass/**/*.sass', gulp.series('sass'));
    });
    

    for version gulp 4.xx

提交回复
热议问题