1 parent 55c92dc commit e4f7333Copy full SHA for e4f7333
2 files changed
nodemon.json
@@ -1,5 +1,15 @@
1
{
2
- "watch": ["back", ".env"],
+ "watch": [
3
+ "back",
4
+ ".env"
5
+ ],
6
"ext": "js,ts,json",
- "exec": "ts-node -P ./back/tsconfig.json ./back/app.ts"
-}
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
@@ -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",
0 commit comments