X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fwatch%2Fclient.sh;h=f3799d2e9dd1db395c8634c366380b0f60d58476;hb=56af5222c1ab3d6aaa76b1237bfa381ecc4878b1;hp=d5eb2581832f79c84142dad5fadf7fd67a9d9eef;hpb=04de542abd940f9d2ca213fba3c68580c6c9b78a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index d5eb25818..f3799d2e9 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 webpack-dev-server -- --config config/webpack.dev.js --progress --profile --colors --watch --content-base src/ --hotOnly --open +cd client + +npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000