From ec7e9393c97475f947b3bdf058fec82559df72af Mon Sep 17 00:00:00 2001 From: Jakob Date: Thu, 10 Apr 2014 14:26:22 +0300 Subject: [PATCH] watch *.css file in both cases to prevent reload being send before compiled css is ready --- app/templates/gulpfile.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/templates/gulpfile.js b/app/templates/gulpfile.js index 9eda3b3a..9b5fe7ce 100644 --- a/app/templates/gulpfile.js +++ b/app/templates/gulpfile.js @@ -129,9 +129,8 @@ gulp.task('wiredep', function () { gulp.task('watch', ['connect', 'serve'], function () { // Watch for changes in `app` folder gulp.watch([ - 'app/*.html',<% if (includeSass) { %> - 'app/styles/**/*.scss',<% } else { %> - 'app/styles/**/*.css',<% } %> + 'app/*.html', + 'app/styles/**/*.css', 'app/scripts/**/*.js', 'app/images/**/*' ], function (event) {