diff options
Diffstat (limited to 'scripts/dev/client.sh')
-rwxr-xr-x | scripts/dev/client.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/dev/client.sh b/scripts/dev/client.sh index e9cade800..e5b53bae5 100755 --- a/scripts/dev/client.sh +++ b/scripts/dev/client.sh | |||
@@ -2,7 +2,13 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | clientCommand="cd client && node node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000" | 5 | clientConfiguration="hmr" |
6 | |||
7 | if [ ! -z ${2+x} ] && [ "$2" = "--ar-locale" ]; then | ||
8 | clientConfiguration="ar-locale" | ||
9 | fi | ||
10 | |||
11 | clientCommand="cd client && node node_modules/.bin/ng serve --proxy-config proxy.config.json --hmr --configuration $clientConfiguration --host 0.0.0.0 --disable-host-check --port 3000" | ||
6 | serverCommand="npm run build:server && NODE_ENV=test node dist/server" | 12 | serverCommand="npm run build:server && NODE_ENV=test node dist/server" |
7 | 13 | ||
8 | if [ ! -z ${1+x} ] && [ "$1" = "--skip-server" ]; then | 14 | if [ ! -z ${1+x} ] && [ "$1" = "--skip-server" ]; then |