diff --git a/generators/app/templates/Gulpfile.js b/generators/app/templates/Gulpfile.js index e1f14a1..4b6cfd9 100644 --- a/generators/app/templates/Gulpfile.js +++ b/generators/app/templates/Gulpfile.js @@ -44,9 +44,9 @@ var pkg = require("./package.json"), gulp.task("build", gulp.series(["compress"])); gulp.task("default", gulp.series(['build'], function() { - gulp.watch("./src/**/*", ["compress"]); - gulp.watch("./src/**/*.js", ["copy:js"]); - gulp.watch("./src/**/*.html", ["copy:html"]) + gulp.watch("./src/**/*", gulp.series(['compress'])); + gulp.watch("./src/**/*.js", gulp.series(['copy:js'])); + gulp.watch("./src/**/*.html", gulp.series(['copy:html'])) })); gulp.task("compress", gulp.series(["clean"], function () { @@ -112,4 +112,4 @@ var pkg = require("./package.json"), }); gulp.task("version", gulp.parallel(["version:xml", "version:json"])); - \ No newline at end of file +