diff --git a/apps/api/package.json b/apps/api/package.json index b59af95..dac199b 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 src/main.ts", + "dev": "pnpm build && node --env-file=.env dist/main.js", "lint": "eslint .", "typecheck": "tsc -p tsconfig.json --noEmit", "test": "tsx --test test/**/*.test.ts",