aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/watch/client.sh
diff options
context:
space:
mode:
authorJan Keromnes <janx@linux.com>2018-01-25 14:41:10 +0100
committerChocobozzz <me@florianbigard.com>2018-01-25 14:48:06 +0100
commit42f192343035dd56ecd67cc578a7984393a940e5 (patch)
tree5b2c3082d093cf130bde37aa39dcb30a2a303f21 /scripts/watch/client.sh
parent897cab462b03e292684a5d2490ceedde965e0b88 (diff)
downloadPeerTube-42f192343035dd56ecd67cc578a7984393a940e5.tar.gz
PeerTube-42f192343035dd56ecd67cc578a7984393a940e5.tar.zst
PeerTube-42f192343035dd56ecd67cc578a7984393a940e5.zip
Add --disable-host-check to development watch script to support proxies.
See also https://github.com/webpack/webpack-dev-server/issues/882
Diffstat (limited to 'scripts/watch/client.sh')
-rwxr-xr-xscripts/watch/client.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh
index d8c3a2547..2481e2269 100755
--- a/scripts/watch/client.sh
+++ b/scripts/watch/client.sh
@@ -2,4 +2,4 @@
2 2
3cd client || exit -1 3cd client || exit -1
4 4
5npm run ng -- server --hmr --host 0.0.0.0 --port 3000 5npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000