aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/watch/server.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh
index 8d8470954..2e3231865 100755
--- a/scripts/watch/server.sh
+++ b/scripts/watch/server.sh
@@ -12,6 +12,9 @@ rm -rf "./dist"
12mkdir "./dist" 12mkdir "./dist"
13cp "./tsconfig.json" "./dist" 13cp "./tsconfig.json" "./dist"
14 14
15npm run tsc -- --incremental --sourceMap
16cp -r ./server/static ./server/assets ./dist/server
17
15NODE_ENV=test npm run concurrently -- -k \ 18NODE_ENV=test npm run concurrently -- -k \
16 "npm run tsc -- --sourceMap && cp -r ./server/static ./server/assets ./dist/server && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ 19 "npm run nodemon -- --delay 1 --watch ./dist dist/server" \
17 "npm run tsc -- --sourceMap --preserveWatchOutput -w" 20 "npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w"