Skip to content

Commit

Permalink
update sass watch task
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwragg committed Apr 3, 2017
1 parent a45984c commit ef52641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ gulp.task('sass', function() {
});

gulp.task('watch', function() {
gulp.watch(['sass/*.scss'], ['sass']);
gulp.watch(['*.scss', 'sass/*.scss'], ['sass']);
});

gulp.task('serve', function() {
Expand All @@ -72,7 +72,7 @@ gulp.task('serve', function() {
});

gulp.watch(['css/*-styles.html', '*.html', '*.js', 'demo/*.html']).on('change', browserSync.reload);
gulp.watch(['sass/*.scss'], ['sass']);
gulp.watch(['*.scss', 'sass/*.scss'], ['sass']);

});

Expand Down

0 comments on commit ef52641

Please sign in to comment.