0 votes
in JAVA by
What is default task in gulp?

1 Answer

0 votes
by

Default task is nothing but a way to execute all defined task together. Basically it’s a wrapper to other tasks.

gulp.task('default', ['lint', 'sass', 'scripts', 'watch']);

When default task gets executed, it executes all the 4 tasks.

While running gulp task from command line, you don’t have write task name if you wish to execute default task.

Related questions

0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
0 votes
0 votes
asked Feb 15, 2020 in JAVA by rahuljain1
...