diff options
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/client.sh | 7 | ||||
-rwxr-xr-x | scripts/watch/server.sh | 20 |
2 files changed, 0 insertions, 27 deletions
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh deleted file mode 100755 index 1d6b8c2aa..000000000 --- a/scripts/watch/client.sh +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | cd client | ||
6 | |||
7 | npm run ng -- serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000 | ||
diff --git a/scripts/watch/server.sh b/scripts/watch/server.sh deleted file mode 100755 index 2e3231865..000000000 --- a/scripts/watch/server.sh +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -eu | ||
4 | |||
5 | # Copy locales | ||
6 | mkdir -p "./client/dist" | ||
7 | rm -rf "./client/dist/locale" | ||
8 | cp -r "./client/src/locale" "./client/dist/locale" | ||
9 | |||
10 | rm -rf "./dist" | ||
11 | |||
12 | mkdir "./dist" | ||
13 | cp "./tsconfig.json" "./dist" | ||
14 | |||
15 | npm run tsc -- --incremental --sourceMap | ||
16 | cp -r ./server/static ./server/assets ./dist/server | ||
17 | |||
18 | NODE_ENV=test npm run concurrently -- -k \ | ||
19 | "npm run nodemon -- --delay 1 --watch ./dist dist/server" \ | ||
20 | "npm run tsc -- --incremental --sourceMap --preserveWatchOutput -w" | ||