aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/watch/server.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
index f6721a18e..635bebf8e 100755
--- a/scripts/watch/server.sh
+++ b/scripts/watch/server.sh
@@ -9,6 +9,9 @@ cp -r "./client/src/locale/target" "./client/dist/locale"
9 9
10rm -rf "./dist" 10rm -rf "./dist"
11 11
12mkdir "./dist"
13cp "./tsconfig.json" "./dist"
14
12NODE_ENV=test npm run concurrently -- -k \ 15NODE_ENV=test npm run concurrently -- -k \
13 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ 16 "npm run tsc -- --sourceMap && cp -r ./server/static ./server/assets ./dist/server && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
14 "npm run tsc -- --sourceMap --preserveWatchOutput -w" 17 "npm run tsc -- --sourceMap --preserveWatchOutput -w"