diff options
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..33372fc --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,36 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "npm run dev-task", + "type": "npm", + "script": "dev-task", + "isBackground": true, + "problemMatcher": { + "owner": "custom", + "pattern": { + "regexp": "^$" + }, + "background": { + "activeOnStart": true, + "beginsPattern": ".*", + "endsPattern": "ready in .+" + } + }, + }, + { + "label": "postdebugKill", + "command": "echo ${input:terminate}", + "type": "shell", + "problemMatcher": [] + }, + ], + "inputs": [ + { + "id": "terminate", + "type": "command", + "command": "workbench.action.tasks.terminate", + "args": "npm run dev-task" + } + ] +}
\ No newline at end of file |