From cbca00dfc14fe47260e8d081f4ed0bec7c66fd09 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Sat, 6 Jan 2018 18:10:51 +0100 Subject: [PATCH] Fix client development so that it uses the local ng binary; (#177) --- package.json | 1 + scripts/watch/client.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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