]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/client.sh
Upgrade to rxjs 6
[github/Chocobozzz/PeerTube.git] / scripts / watch / client.sh
index 6d4759b4ef8a231bc4e43c97fa665ef11877de4e..7dcce58612119e2945e18b9d35c19952204693f3 100755 (executable)
@@ -1,5 +1,7 @@
-#!/usr/bin/env sh
+#!/bin/sh
 
-cd client || exit -1
+set -eu
 
-ng server --hmr --host localhost --port 3000
+cd client
+
+npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000