diff --git a/.vscode/launch.json b/.vscode/launch.json index dea161f..08d7324 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,8 +5,8 @@ "version": "0.2.0", "configurations": [ { - "command": "deno task server", - "name": "Run server", + "command": "deno task debug", + "name": "Run debug", "request": "launch", "type": "node-terminal", }, diff --git a/deno.jsonc b/deno.jsonc index ad70cbb..7de7103 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,6 +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", "build": "cd ./client && deno task build" }, "imports": {