aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch/server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch/server.sh')
-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
new file mode 100755
index 000000000..55570138e
--- /dev/null
+++ b/scripts/watch/server.sh
@@ -0,0 +1,5 @@
1#!/usr/bin/env sh
2
3NODE_ENV=test concurrently \
4 "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \
5 "npm run tsc -- --sourceMap -w"