From 3caeb3fcdd0d66580827393be58285c0c2d7d41e Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 19 Feb 2022 15:30:22 +0100 Subject: [PATCH] fixed broken watches --- frontend/gulpfile.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 6dc524903..8bf89be64 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -140,10 +140,15 @@ task( task("watch", function () { watch("./src/styles/*.scss", series("sass")); watch( - ["./src/scripts/**/*.js", "./src/scripts/**/*.ts"], + [ + "./src/scripts/**/*.js", + "./src/scripts/**/*.ts", + "./src/scripts/*.js", + "./src/scripts/*.ts", + ], series("lint", "webpack") ); - watch("./static/**/*.*", series("lint-json", "static")); + watch(["./static/**/*.*", "./static/*.*"], series("lint-json", "static")); }); task("build", series("clean", "compile"));