mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
fixed broken watches
This commit is contained in:
parent
8cba5120c3
commit
3caeb3fcdd
1 changed files with 7 additions and 2 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue