Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Created January 13, 2016 17:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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