Run build if bower.json is changed

This commit is contained in:
Kalen Johnson
2015-03-10 15:50:25 -07:00
parent 6a71f880d8
commit d8a24db287

View File

@@ -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();
}); });