Skip to content

Commit

Permalink
watch *.css file in both cases to prevent reload being send before co…
Browse files Browse the repository at this point in the history
…mpiled css is ready
  • Loading branch information
jcsrb committed Apr 10, 2014
1 parent 0cdb0d8 commit ec7e939
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ec7e939

Please sign in to comment.