]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/client.sh
Improve update host script and add warning if AP urls are invalid
[github/Chocobozzz/PeerTube.git] / scripts / watch / client.sh
index c99ed14e685ab827f899c90d9bb6198ec89764d8..f3799d2e9dd1db395c8634c366380b0f60d58476 100755 (executable)
@@ -1,5 +1,7 @@
-#!/usr/bin/env sh
+#!/bin/sh
 
-cd client || exit -1
+set -eu
 
-npm run webpack-dev-server -- --config config/webpack.dev.js --progress --profile --colors --watch --content-base src/ --inline --hot
+cd client
+
+npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000