Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix client development so that it uses the local ng binary; (#177)

Benjamin Bouviercbca00dfc14f
diff --git a/package.json b/package.json
index 7b30d24fac..8f72daa4d1 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 6d4759b4ef..09dcc23aca 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