Browse Source

Fix watched build bug

tags/v0.2.0
bertieb 3 years ago
parent
commit
5b901dd538
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      gulpfile.js

+ 2
- 2
gulpfile.js View File

@@ -115,9 +115,9 @@ gulp.task('serve', gulp.series("build-hs", watchedBundle, function() {
gulp.watch("src/html/*.html").on('change', gulp.series("copy-html"));
gulp.watch("dist/*.html").on('change', browserSync.reload);
gulp.watch("dist/*.js").on('change', browserSync.reload);
watchedBrowserify.on("update", watchedBundle);
watchedBrowserify.on("log", fancy_log);
}));


gulp.task('default', gulp.series('serve'));
watchedBrowserify.on("update", watchedBundle);
watchedBrowserify.on("log", fancy_log);

Loading…
Cancel
Save