Skip to content

Instantly share code, notes, and snippets.

@ahmadawais
Created January 13, 2016 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadawais/d45556422a4ed06cd046 to your computer and use it in GitHub Desktop.
Save ahmadawais/d45556422a4ed06cd046 to your computer and use it in GitHub Desktop.
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