|
@@ -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("src/html/*.html").on('change', gulp.series("copy-html")); |
|
|
gulp.watch("dist/*.html").on('change', browserSync.reload); |
|
|
gulp.watch("dist/*.html").on('change', browserSync.reload); |
|
|
gulp.watch("dist/*.js").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')); |
|
|
gulp.task('default', gulp.series('serve')); |
|
|
watchedBrowserify.on("update", watchedBundle); |
|
|
|
|
|
watchedBrowserify.on("log", fancy_log); |
|
|
|