From: Benjamin Bouvier Date: Sat, 6 Jan 2018 17:10:51 +0000 (+0100) Subject: Fix client development so that it uses the local ng binary; (#177) X-Git-Tag: v0.0.1-alpha~43 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cbca00dfc14fe47260e8d081f4ed0bec7c66fd09;p=github%2FChocobozzz%2FPeerTube.git Fix client development so that it uses the local ng binary; (#177) --- diff --git a/package.json b/package.json index 7b30d24fa..8f72daa4d 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "parse-log": "ts-node ./scripts/parse-log.ts", "postinstall": "cd client && yarn install --pure-lockfile", "tsc": "tsc", + "ng": "ng", "nodemon": "nodemon", "ts-node": "ts-node", "tslint": "tslint", diff --git a/scripts/watch/client.sh b/scripts/watch/client.sh index 6d4759b4e..09dcc23ac 100755 --- a/scripts/watch/client.sh +++ b/scripts/watch/client.sh @@ -2,4 +2,4 @@ cd client || exit -1 -ng server --hmr --host localhost --port 3000 +npm run ng -- server --hmr --host localhost --port 3000