chore: API 开发模式支持热重载
This commit is contained in:
1 parent
20f880a761
commit
760f41a584
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"dev": "pnpm build && node --env-file=.env dist/main.js",
|
||||
"dev": "tsx watch --env-file=.env src/main.ts",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"test": "tsx --test test/**/*.test.ts",
|
||||
|
||||
Reference in new issue
Block a user