Remove dist folder first, pass input to nodemon

This commit is contained in:
Ben Woodward 2019-04-10 20:07:23 +01:00
parent 7ca5b74ce7
commit 7a4a28069c
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts", "start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "concurrently \"tsc -w -p tsconfig.build.json\" \"wait-on dist/main.js && nodemon\"", "start:dev": "rimraf dist && concurrently --names \"NODEMON,TSC\" --handle-input \"wait-on dist/main.js && nodemon\" \"tsc -w -p tsconfig.build.json\" ",
"start:debug": "nodemon --config nodemon-debug.json", "start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build", "prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js", "start:prod": "node dist/main.js",