Change start:dev to use concurrently
This commit is contained in:
parent
9caad9ccb5
commit
7ca5b74ce7
|
|
@ -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": "nodemon",
|
"start:dev": "concurrently \"tsc -w -p tsconfig.build.json\" \"wait-on dist/main.js && nodemon\"",
|
||||||
"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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue