aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/dev/client.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-10 14:48:45 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-02-10 16:39:28 +0100
commit0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66 (patch)
tree1528af874e174919ec91c60e3d1cb0914cbcec00 /scripts/dev/client.sh
parent7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2 (diff)
downloadPeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.tar.gz
PeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.tar.zst
PeerTube-0e9c3b2810aa3fc8bbf5275e42ce621efc6cdb66.zip
Fix client dev mode
Diffstat (limited to 'scripts/dev/client.sh')
-rwxr-xr-xscripts/dev/client.sh2
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
3set -eu 3set -eu
4 4
5clientCommand="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" 5clientCommand="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"
6serverCommand="npm run build:server && NODE_ENV=test node dist/server" 6serverCommand="npm run build:server && NODE_ENV=test node dist/server"
7 7
8if [ ! -z ${1+x} ] && [ "$1" == "--skip-server" ]; then 8if [ ! -z ${1+x} ] && [ "$1" == "--skip-server" ]; then