Skip to content

Commit

Permalink
Fix stupidity in watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval authored Jun 22, 2016
1 parent 5760e85 commit 45a0db4
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 @@ -324,10 +324,10 @@ gulp.task('watch', ['dump'], function() {
if (hasSass) {
gulp.watch(files_sass, ['sass']).on('change', callback);
}
if (hasCss.length) {
if (hasCss) {
gulp.watch(files_css, ['css']).on('change', callback);
}
if (hasJs.length) {
if (hasJs) {
gulp.watch(files_js, ['js']).on('change', callback);
}
});
Expand Down

0 comments on commit 45a0db4

Please sign in to comment.