Skip to content

Commit e4f7333

Browse files
authored
Enable debug backend (#2776)
1 parent 55c92dc commit e4f7333

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

nodemon.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
2-
"watch": ["back", ".env"],
2+
"watch": [
3+
"back",
4+
".env"
5+
],
36
"ext": "js,ts,json",
4-
"exec": "ts-node -P ./back/tsconfig.json ./back/app.ts"
5-
}
7+
"env": {
8+
"NODE_ENV": "development",
9+
"TS_NODE_PROJECT": "./back/tsconfig.json"
10+
},
11+
"verbose": true,
12+
"execMap": {
13+
"ts": "node --require ts-node/register"
14+
}
15+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"start": "concurrently -n w: npm:start:*",
5-
"start:back": "nodemon",
5+
"start:back": "nodemon ./back/app.ts",
66
"start:front": "max dev",
77
"build:front": "max build",
88
"build:back": "tsc -p back/tsconfig.json",

0 commit comments

Comments
 (0)