]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/client.sh
Merge branch 'master' into develop
[github/Chocobozzz/PeerTube.git] / scripts / watch / client.sh
index d8c3a254740f942483cc8522c7ff9206a306e637..1d6b8c2aa5d719528d230f139b8e7dfa8fe69910 100755 (executable)
@@ -1,5 +1,7 @@
-#!/usr/bin/env sh
+#!/bin/sh
 
-cd client || exit -1
+set -eu
 
-npm run ng -- server --hmr --host 0.0.0.0 --port 3000
+cd client
+
+npm run ng -- serve --proxy-config proxy.config.json --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000