X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fwatch%2Fclient.sh;h=1d6b8c2aa5d719528d230f139b8e7dfa8fe69910;hb=0cfcbae8189353a1ad29bafbd520e6965290f367;hp=09dcc23acab1a2c55b70278da557f65629ce089f;hpb=cbca00dfc14fe47260e8d081f4ed0bec7c66fd09;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 09dcc23ac..1d6b8c2aa 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh @@ -1,5 +1,7 @@ -#!/usr/bin/env sh +#!/bin/sh -cd client || exit -1 +set -eu -npm run ng -- server --hmr --host localhost --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