Skip to content

Commit f2c90ce

Browse files
committed
fix: add .env watch for dev command
1 parent 5f2f7dc commit f2c90ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"type": "module",
77
"scripts": {
8-
"dev": "tsx watch src/server.ts",
8+
"dev": "tsx watch --env-file .env src/server.ts",
99
"start": "node dist/server.js",
1010
"build": "tsc",
1111
"typecheck": "tsc --noEmit",
@@ -89,4 +89,4 @@
8989
"typescript-eslint": "^8.56.0",
9090
"vitest": "^4.0.3"
9191
}
92-
}
92+
}

0 commit comments

Comments
 (0)