diff options
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/server.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh index 9d4eb8e02..f8e4b9cc0 100755 --- a/scripts/watch/server.sh +++ b/scripts/watch/server.sh | |||
@@ -7,6 +7,8 @@ mkdir -p "./client/dist" | |||
7 | rm -rf "./client/dist/locale" | 7 | rm -rf "./client/dist/locale" |
8 | cp -r "./client/src/locale/target" "./client/dist/locale" | 8 | cp -r "./client/src/locale/target" "./client/dist/locale" |
9 | 9 | ||
10 | rm -r "./dist" | ||
11 | |||
10 | NODE_ENV=test npm run concurrently -- -k \ | 12 | NODE_ENV=test npm run concurrently -- -k \ |
11 | "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ | 13 | "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ |
12 | "npm run tsc -- --sourceMap --preserveWatchOutput -w" | 14 | "npm run tsc -- --sourceMap --preserveWatchOutput -w" |