Refactor debug to dev on start and watch script

This commit is contained in:
William Welling
2016-12-05 10:58:40 -06:00
parent ede7c56c1c
commit 103138d00c

View File

@@ -30,13 +30,13 @@
"ngc": "ngc -p tsconfig.aot.json",
"prestart": "npm run sass && npm run build:prod:ngc:json",
"server": "node dist/server/index.js",
"server:debug": "nodemon --debug dist/server/index.js",
"server:dev": "nodemon --debug dist/server/index.js",
"start": "npm run server",
"start:dev": "npm run clean:prod && npm run build && npm run server",
"watch": "webpack -w & npm run sass:watch",
"watch:dev:server": "concurrently \"npm run server:debug\" \"npm run watch\"",
"watch:dev:server": "concurrently \"npm run server:dev\" \"npm run watch\"",
"watch:dev": "npm run clean:prod && npm run build && npm run watch:dev:server",
"watch:prod:server": "concurrently \"npm run server:debug\" \"npm run watch\"",
"watch:prod:server": "concurrently \"npm run server\" \"npm run watch\"",
"watch:prod": "npm run build:prod:ngc:json && npm run watch:prod:server",
"predebug": "npm run build",
"debug": "node --debug-brk dist/server/index.js",