| 1. |
What Is Default Task In Gulp? |
|
Answer» DEFAULT task is nothing but a way to execute all defined task together. Basically it’s a wrapper to other TASKS. 1 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. Default task is nothing but a way to execute all defined task together. Basically it’s a wrapper to other tasks. 1 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. |
|