aboutsummaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
blob: 33372fc609dfa0d444766a19acd0ffa41f89cc79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
        }
    ]
}