Fixes watch task
This commit is contained in:
@@ -116,8 +116,8 @@ gulp.task('clean', require('del').bind(null, [path.dist]));
|
|||||||
|
|
||||||
gulp.task('watch', function() {
|
gulp.task('watch', function() {
|
||||||
$.livereload.listen();
|
$.livereload.listen();
|
||||||
gulp.watch([path.src + 'styles/**/*', 'bower.json'], ['styles']);
|
gulp.watch([path.source + 'styles/**/*'], ['styles']);
|
||||||
gulp.watch([path.src + 'scripts/**/*', 'bower.json'], ['jshint', 'scripts']);
|
gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);
|
||||||
gulp.watch(['bower.json'], ['wiredep']);
|
gulp.watch(['bower.json'], ['wiredep']);
|
||||||
gulp.watch('**/*.php').on('change', function(file) {
|
gulp.watch('**/*.php').on('change', function(file) {
|
||||||
$.livereload.changed(file.path);
|
$.livereload.changed(file.path);
|
||||||
|
|||||||
Reference in New Issue
Block a user