diff options
author | Benjamin Bouvier <public@benj.me> | 2018-01-06 18:10:51 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-06 18:10:51 +0100 |
commit | cbca00dfc14fe47260e8d081f4ed0bec7c66fd09 (patch) | |
tree | 7e258770b39591f0f4f113cefed986cfd74edde1 | |
parent | e755a63a1baaa1ddc94abd7f26f6708e8cb869a9 (diff) | |
download | PeerTube-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.json | 1 | ||||
-rwxr-xr-x | scripts/watch/client.sh | 2 |
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 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | ||
5 | ng server --hmr --host localhost --port 3000 | 5 | npm run ng -- server --hmr --host localhost --port 3000 |