Browse Source

gulpfile, do not rebuild content when assets are modified

Bachir Soussi Chiadmi 7 years ago
parent
commit
72c2b3b5dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gulpfile.js

+ 1 - 1
gulpfile.js

@@ -42,5 +42,5 @@ gulp.task('build', shell.task([
 gulp.task('default', ['webserver', 'sync', 'scss', 'gui', 'build'], function() {
   gulp.watch('./assets/css/**/*.scss', ['scss']);
   gulp.watch('./assets/css/gui.scss', ['gui']);
-  gulp.watch(['bin/build.py', './assets/css/**/*.scss', './assets/js/**/*.js', './templates/*.tpl.html'], ['build']);
+  gulp.watch(['bin/build.py', './book-src/*', './templates/*.tpl.html'], ['build']);
 });