mirror of
https://github.com/whyour/qinglong.git
synced 2025-08-23 19:56:07 +08:00
Enable debug backend (#2776)
This commit is contained in:
parent
55c92dc320
commit
e4f733320d
16
nodemon.json
16
nodemon.json
|
@ -1,5 +1,15 @@
|
|||
{
|
||||
"watch": ["back", ".env"],
|
||||
"watch": [
|
||||
"back",
|
||||
".env"
|
||||
],
|
||||
"ext": "js,ts,json",
|
||||
"exec": "ts-node -P ./back/tsconfig.json ./back/app.ts"
|
||||
}
|
||||
"env": {
|
||||
"NODE_ENV": "development",
|
||||
"TS_NODE_PROJECT": "./back/tsconfig.json"
|
||||
},
|
||||
"verbose": true,
|
||||
"execMap": {
|
||||
"ts": "node --require ts-node/register"
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"start": "concurrently -n w: npm:start:*",
|
||||
"start:back": "nodemon",
|
||||
"start:back": "nodemon ./back/app.ts",
|
||||
"start:front": "max dev",
|
||||
"build:front": "max build",
|
||||
"build:back": "tsc -p back/tsconfig.json",
|
||||
|
|
Loading…
Reference in New Issue
Block a user