From 33c9e2486a88fb58e26055f83e29764c2d8719e8 Mon Sep 17 00:00:00 2001 From: keving119 Date: Thu, 8 Oct 2020 16:44:12 +0200 Subject: [PATCH] Update Gulpfile.js Fix for issue #37. --- generators/app/templates/Gulpfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +