Chrome Extension

Default task in Gulp

var gulp = require('gulp');

gulp.task('task1', function() { /** TASK 1 Process */ });

gulp.task('task2', function() { /** TASK 1 Process */ });

gulp.task('default', gulp.series(
    'task1',
    'task2'
));
We are a bunch of lazy programmers so we developed this chrome extension
search code from your favorite search engine
Install Now

You can define the default task in gulp by creating a task named as 'default' and pass gulp.series or gulp.parallel to it to run multiple tasks. The default tasks can be run using the gulp command in the terminal.

Was this helpful?
0 Comments
Open Code Manager We are hiring