diff --git a/gulpfile.js b/gulpfile.js index af04d5f..fd03f73 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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);