Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Watch default Task
/**
* Watch Tasks.
*
* Watches for file changes and runs specific tasks.
*/
gulp.task( 'default', [ 'styles', 'vendorsJs', 'customJS' ], function () {
gulp.watch( './assets/css/**/*.scss', [ 'styles' ] );
gulp.watch( './assets/js/vendors/*.js', [ 'vendorsJs' ] );
gulp.watch( './assets/js/custom/*.js', [ 'customJS' ] );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment