chore: debug -> build-and-run-server, 修改 Docketfile 启动命令以自动构建前端

This commit is contained in:
CrescentLeaf
2025-10-31 21:34:12 +08:00
parent 046831b4e5
commit 6c1dd703bc
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"tasks": {
"server": "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-and-run-server": "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": {