aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch')
-rwxr-xr-xscripts/watch/server.sh5
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
3set -eu 3set -eu
4 4
5# Copy locales
6mkdir -p "./client/dist"
7rm -r "./client/dist/locale"
8cp -r "./client/src/locale/target" "./client/dist/locale"
9
5NODE_ENV=test concurrently -k \ 10NODE_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"