Skip to content

Prevent killing VS Code tasks after reloading VS Code

I generally using tasks for simplifying development process.
But some reasons I need to reload the VS Code (extension update, freezing etc.) and running task are gone.
Thanks to highlighted line we can prevent this:

.vscode/tasks.json
{
"tasks": [
{
"detail": "vitepress dev docs",
"isBackground": true,
"label": "dev",
"problemMatcher": [],
"script": "docs:dev",
"type": "npm"
}
],
"version": "2.0.0"
}