]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/watch/client.sh
add .editorconfig to maintain consistent coding styles (#429)
[github/Chocobozzz/PeerTube.git] / scripts / watch / client.sh
index d5eb2581832f79c84142dad5fadf7fd67a9d9eef..710c8703704b4ea07b83c66f2dd4cdabb95f7628 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/ --hotOnly --open
+cd client
+
+npm run ng -- server --hmr --host 0.0.0.0 --disable-host-check --port 3000