Here is a composed task I don\'t know how to replace it with task dependencies.
... gulp.task(\'watch\', function () { var server = function(){ gulp.run(\
In Gulp 4 the only thing that seems to be working for me is:
gulp.task('watch', function() { gulp.watch(['my-files/**/*'], gulp.series('my-func')); }); gulp.task('my-func', function() { return gulp.src('[...]').pipe(gulp.dest('...')); });