Skip to content

Commit

Permalink
Merge pull request #68 from thiago-om/fix-js-task
Browse files Browse the repository at this point in the history
fix js watch task
  • Loading branch information
sondr3 committed Jan 31, 2015
2 parents 238ef44 + 7f6ca2c commit 2795b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/gulpfile.js
Expand Up @@ -233,8 +233,8 @@ gulp.task("serve:dev", ["styles", "jekyll:dev"], function () {
// These tasks will look for files that change while serving and will auto-regenerate or
// reload the website accordingly. Update or add other files you need to be watched.
gulp.task("watch", function () {
gulp.watch(["src/**/*.md", "src/**/*.html", "src/**/*.xml", "src/**/*.txt"], ["jekyll-rebuild"]);
gulp.watch(["serve/assets/stylesheets/*.css", "serve/assest/javascript/*.js"], reload);
gulp.watch(["src/**/*.md", "src/**/*.html", "src/**/*.xml", "src/**/*.txt", "src/**/*.js"], ["jekyll-rebuild"]);
gulp.watch(["serve/assets/stylesheets/*.css"], reload);
gulp.watch(["src/assets/scss/**/*.scss"], ["styles"]);
});

Expand Down

0 comments on commit 2795b1f

Please sign in to comment.