feat: 在服務端重新編譯前端

This commit is contained in:
CrescentLeaf
2025-09-07 18:21:49 +08:00
parent 1a69b521e6
commit 71b368a5ac
2 changed files with 22 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{
"tasks": {
"server": "deno task build && deno run --allow-read --allow-write --allow-env --allow-net --allow-sys ./server/main.ts",
"debug": "deno task build && deno run --watch --allow-read --allow-write --allow-env --allow-net --allow-sys ./server/main.ts",
"server": "deno task build && deno run --allow-read --allow-write --allow-env --allow-net --allow-sys --allow-run=deno ./server/main.ts",
"debug": "deno task build && deno run --watch --allow-read --allow-write --allow-env --allow-net --allow-sys --allow-run=deno ./server/main.ts",
"build": "cd ./client && deno task build"
},
"imports": {