diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-10 14:48:45 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-02-10 16:39:28 +0100 |
commit | 0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66 (patch) | |
tree | 1528af874e174919ec91c60e3d1cb0914cbcec00 /scripts/dev/client.sh | |
parent | 7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2 (diff) | |
download | PeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.tar.gz PeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.tar.zst PeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.zip |
Fix client dev mode
Diffstat (limited to 'scripts/dev/client.sh')
-rwxr-xr-x | scripts/dev/client.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dev/client.sh b/scripts/dev/client.sh index a36a47a34..bcb8b88f6 100755 --- a/scripts/dev/client.sh +++ b/scripts/dev/client.sh | |||
@@ -2,7 +2,7 @@ | |||
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,fr --host 0.0.0.0 --disable-host-check --port 3000" | 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" |
6 | serverCommand="npm run build:server && NODE_ENV=test node dist/server" | 6 | serverCommand="npm run build:server && NODE_ENV=test node dist/server" |
7 | 7 | ||
8 | if [ ! -z ${1+x} ] && [ "$1" == "--skip-server" ]; then | 8 | if [ ! -z ${1+x} ] && [ "$1" == "--skip-server" ]; then |