2 Matching Annotations
- Jan 2019
-
-
gulp.task('default', gulp.series('clean', gulp.parallel('scripts', 'styles'), function() {...}));
The new and improved version in gulp4.0. The difference here which fixes the previous problems of having to rebuild every-time it that, the dependencies can be run independently. So styles can be run by itself without running cleanup beforehand.
-
Gulp 4 drops the dependency parameter completely and replaces them with execution functions that can be used instead: gulp.series for sequential execution gulp.parallel for parallel execution.
gulp4.0 allows you to specify the exact execution order of dependencies rather than letting gulp assume the order from the dependency tree.
Tags
Annotators
URL
-