chore: Debug with --watch
This commit is contained in:
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@@ -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",
|
||||
},
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user