From d5a84b51a7dd56ff734d5e8ab035275b699fa454 Mon Sep 17 00:00:00 2001 From: que01 Date: Tue, 13 Oct 2026 17:53:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=81=A2=E5=A4=8D=20API=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E8=BF=90=E8=A1=8C=E5=B9=B6=E6=94=AF=E6=8C=81=20watch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/package.json b/apps/api/package.json index 92c4d2a..03ec80d 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "build": "tsc -p tsconfig.json", - "dev": "tsx watch --env-file=.env src/main.ts", + "dev": "pnpm build && node --env-file=.env --watch dist/main.js", "lint": "eslint .", "typecheck": "tsc -p tsconfig.json --noEmit", "test": "tsx --test test/**/*.test.ts",