Merge pull request #1378 from kalenjohnson/patch-1
Run `build` if `bower.json` is changed
This commit is contained in:
@@ -227,7 +227,7 @@ gulp.task('watch', function() {
|
|||||||
gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);
|
gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);
|
||||||
gulp.watch([path.source + 'fonts/**/*'], ['fonts']);
|
gulp.watch([path.source + 'fonts/**/*'], ['fonts']);
|
||||||
gulp.watch([path.source + 'images/**/*'], ['images']);
|
gulp.watch([path.source + 'images/**/*'], ['images']);
|
||||||
gulp.watch(['bower.json'], ['wiredep']);
|
gulp.watch(['bower.json'], ['build']);
|
||||||
gulp.watch('**/*.php', function() {
|
gulp.watch('**/*.php', function() {
|
||||||
browserSync.reload();
|
browserSync.reload();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user