gulp Comprehensive Guide to a Front end Workflow with Gulpjs 2 of 2 Defining a Default Task


Example

So now, let us finish the gulpfile code , by defining a Default task.

the default task is the one that runs, when you just say

gulp

on a command prompt under the root of your project.

$.task('default', ['generateResponsiveImages'], function() {
 $.start('watchdog');
 console.log('Starting Incremental Build');
});