Last active
May 2, 2016 07:04
-
-
Save ahmadawais/d4a30d4f4179211feeac to your computer and use it in GitHub Desktop.
Gulp: Watch task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Watch Task | |
gulp.task('default', ['styles', 'vendorsJs', 'scriptsJs', 'images', 'browser-sync'], function () { | |
gulp.watch('./assets/img/raw/**/*', ['images']); | |
gulp.watch('./assets/css/**/*.scss', ['styles']); | |
gulp.watch('./assets/js/**/*.js', ['scriptsJs', browserSync.reload]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment