diff --git a/.vscode/launch.json b/.vscode/launch.json index 372a44597..a3f95165c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,6 +3,7 @@ { "name": "Debug homepage", "type": "node", + "preLaunchTask": "pnpm install", "request": "launch", "runtimeExecutable": "pnpm", "runtimeArgs": ["run", "dev"], diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..88b116db2 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,21 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "pnpm install", + "command": "pnpm install", + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "clear": true, + "panel": "shared", + "showReuseMessage": false + }, + "problemMatcher": [] + + } + ] +}