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