66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start Proxy",
|
|
"type": "process",
|
|
"command": "./proxy.cmd",
|
|
"isBackground": true,
|
|
"runOptions": {
|
|
"reevaluateOnRerun": true,
|
|
"terminateOnExit": true
|
|
},
|
|
"problemMatcher": {
|
|
"pattern": { "regexp": ".*" },
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "^.*",
|
|
"endsPattern": "proxy"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Start Vite",
|
|
"type": "process",
|
|
"command": "npm",
|
|
"args": ["run", "dev"],
|
|
"isBackground": true,
|
|
"runOptions": {
|
|
"reevaluateOnRerun": true,
|
|
"terminateOnExit": true
|
|
},
|
|
"problemMatcher": {
|
|
"pattern": {
|
|
"regexp": ".*"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": "vite",
|
|
"endsPattern": "ready in"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "Start All",
|
|
"dependsOn": ["Start Proxy", "Start Vite"],
|
|
"dependsOrder": "parallel"
|
|
},
|
|
{
|
|
"label": "Stop All Tasks",
|
|
"type": "shell",
|
|
"command": "powershell",
|
|
"args": [
|
|
"-ExecutionPolicy",
|
|
"Bypass",
|
|
"-File",
|
|
"${workspaceFolder}/stop-tasks.ps1"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|