diff options
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/client.sh | 6 | ||||
-rwxr-xr-x | scripts/watch/server.sh | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 2481e2269..710c87037 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh | |||
@@ -1,5 +1,7 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | cd client || exit -1 | 3 | set -eu |
4 | |||
5 | cd client | ||
4 | 6 | ||
5 | npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000 | 7 | npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000 |
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh index 448f69552..42a594d85 100755 --- a/scripts/watch/server.sh +++ b/scripts/watch/server.sh | |||
@@ -1,4 +1,6 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/bin/sh |
2 | |||
3 | set -eu | ||
2 | 4 | ||
3 | NODE_ENV=test concurrently -k \ | 5 | NODE_ENV=test concurrently -k \ |
4 | "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ | 6 | "npm run tsc -- --sourceMap && npm run nodemon -- --delay 2 --watch ./dist dist/server" \ |