From 70dd495920ab4c7687a130cc51794fcbc2569c2a Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 31 Oct 2016 11:14:23 +0000 Subject: [PATCH] Remove 'live reload' from default 'npm start' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - `npm start` now runs demo shell without TS watchers and live reload (public/testing mode) - new `npm run start:dev` script to run ‘development’ mode with watchers and live reload --- demo-shell-ng2/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/demo-shell-ng2/package.json b/demo-shell-ng2/package.json index 0c5e143ca0..299117bde3 100644 --- a/demo-shell-ng2/package.json +++ b/demo-shell-ng2/package.json @@ -6,11 +6,13 @@ "scripts": { "clean": "npm install rimraf && rimraf dist node_modules typings", "build": "npm run tslint && npm run tsc && npm run licensecheck", - "start": "npm run build && concurrently \"npm run tsc:w\" \"npm run serve\" ", + "start": "npm run build && npm run serve", + "start:dev": "npm run build && concurrently \"npm run tsc:w\" \"npm run serve:dev\" ", "aws": "node app.js", "tsc": "tsc", "tsc:w": "tsc -w", - "serve": "wsrv -O http://localhost:3000 -s -l -p 3000 -a 0.0.0.0 -x ./server/versions.js", + "serve": "wsrv -O http://localhost:3000 -s -p 3000 -a 0.0.0.0 -x ./server/versions.js", + "serve:dev": "wsrv -O http://localhost:3000 -s -l -p 3000 -a 0.0.0.0 -x ./server/versions.js", "tslint": "tslint -c tslint.json *.ts && tslint -c tslint.json 'app/{,**/}**.ts'", "licensecheck": "license-check" },