X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fwatch%2Fclient.sh;h=7dcce58612119e2945e18b9d35c19952204693f3;hb=db400f447a9f7aae1c56fa25396e93069744483f;hp=313f66670e61d33f579a0f213f4d183643b9313e;hpb=4771e0008dd26eadbb7eaff64255a6ec914fdadb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 313f66670..7dcce5861 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/ --inline --hot --open +cd client + +npm run ng -- serve --hmr --host 0.0.0.0 --disable-host-check --port 3000