X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fwatch%2Fclient.sh;h=f3799d2e9dd1db395c8634c366380b0f60d58476;hb=23687332e6d7972c6a0eee30ce9056e45dec022b;hp=c99ed14e685ab827f899c90d9bb6198ec89764d8;hpb=1840c2f7c91f5f89602a3683d85b0a9df1454855;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index c99ed14e6..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/ --inline --hot +cd client + +npm run ng -- serve --hmr --configuration hmr --host 0.0.0.0 --disable-host-check --port 3000