diff options
author | Alex <i@neonxp.dev> | 2023-03-08 19:27:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 19:27:35 +0300 |
commit | df52915806db050a8e0cfab2d686acfdbf5e0c5c (patch) | |
tree | 237533159fe116e01dd0712084d9473db1148edd /.vscode/tasks.json |
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 |