Fixes watch task

This commit is contained in:
Austin Pray
2015-01-16 00:20:23 -06:00
parent 4ed15a97d9
commit 2009419a5d

View File

@@ -116,8 +116,8 @@ gulp.task('clean', require('del').bind(null, [path.dist]));
gulp.task('watch', function() {
$.livereload.listen();
gulp.watch([path.src + 'styles/**/*', 'bower.json'], ['styles']);
gulp.watch([path.src + 'scripts/**/*', 'bower.json'], ['jshint', 'scripts']);
gulp.watch([path.source + 'styles/**/*'], ['styles']);
gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);
gulp.watch(['bower.json'], ['wiredep']);
gulp.watch('**/*.php').on('change', function(file) {
$.livereload.changed(file.path);