diff --git a/IdentityServer/gulpfile.js b/IdentityServer/gulpfile.js index 6ae0e64..a244633 100644 --- a/IdentityServer/gulpfile.js +++ b/IdentityServer/gulpfile.js @@ -106,20 +106,20 @@ gulp.task("watch", function (done) { // Watch Source Files assets.forEach(function (src) { for (var key in src) { - gulp.watch(key, ["copy-assets"]); + gulp.watch(key, gulp.parallel("copy-assets")); } }); // Watch Bundle File Itself - gulp.watch('./bundleconfig.json', ["load-bundle", "min"]); + gulp.watch('./bundleconfig.json', gulp.series("load-bundle", "min")); // Watch Bundles getBundles(".js").forEach(function (bundle) { - gulp.watch(bundle.inputFiles, ["min:js"]); + gulp.watch(bundle.inputFiles, gulp.parallel("min:js")); }); getBundles(".css").forEach(function (bundle) { - gulp.watch(bundle.inputFiles, ["min:css"]); + gulp.watch(bundle.inputFiles, gulp.parallel("min:css")); }); done(); diff --git a/Teknik/gulpfile.js b/Teknik/gulpfile.js index 7e31b38..669420e 100644 --- a/Teknik/gulpfile.js +++ b/Teknik/gulpfile.js @@ -131,7 +131,7 @@ gulp.task("watch", function (done) { // Watch Source Files assets.forEach(function (src) { for (var key in src) { - gulp.watch(key, ["copy-assets"]); + gulp.watch(key, gulp.parallel("copy-assets")); } }); @@ -140,11 +140,11 @@ gulp.task("watch", function (done) { // Watch Bundles getBundles(".js").forEach(function (bundle) { - gulp.watch(bundle.inputFiles, ["min:js"]); + gulp.watch(bundle.inputFiles, gulp.parallel("min:js")); }); getBundles(".css").forEach(function (bundle) { - gulp.watch(bundle.inputFiles, ["min:css"]); + gulp.watch(bundle.inputFiles, gulp.parallel("min:css")); }); done();