aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBenjamin Bouvier <public@benj.me>2018-01-06 18:10:51 +0100
committerChocobozzz <me@florianbigard.com>2018-01-06 18:10:51 +0100
commitcbca00dfc14fe47260e8d081f4ed0bec7c66fd09 (patch)
tree7e258770b39591f0f4f113cefed986cfd74edde1
parente755a63a1baaa1ddc94abd7f26f6708e8cb869a9 (diff)
downloadPeerTube-cbca00dfc14fe47260e8d081f4ed0bec7c66fd09.tar.gz
PeerTube-cbca00dfc14fe47260e8d081f4ed0bec7c66fd09.tar.zst
PeerTube-cbca00dfc14fe47260e8d081f4ed0bec7c66fd09.zip
Fix client development so that it uses the local ng binary; (#177)
-rw-r--r--package.json1
-rwxr-xr-xscripts/watch/client.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 7b30d24fa..8f72daa4d 100644
--- a/package.json
+++ b/package.json
@@ -43,6 +43,7 @@
43 "parse-log": "ts-node ./scripts/parse-log.ts", 43 "parse-log": "ts-node ./scripts/parse-log.ts",
44 "postinstall": "cd client && yarn install --pure-lockfile", 44 "postinstall": "cd client && yarn install --pure-lockfile",
45 "tsc": "tsc", 45 "tsc": "tsc",
46 "ng": "ng",
46 "nodemon": "nodemon", 47 "nodemon": "nodemon",
47 "ts-node": "ts-node", 48 "ts-node": "ts-node",
48 "tslint": "tslint", 49 "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 @@
2 2
3cd client || exit -1 3cd client || exit -1
4 4
5ng server --hmr --host localhost --port 3000 5npm run ng -- server --hmr --host localhost --port 3000