Add launch config/task for "yarn web"

This commit is contained in:
Rob Lourens
2019-10-15 11:27:17 -07:00
parent 43e85c223c
commit 84d62ea8a3
3 changed files with 36 additions and 1 deletions

19
.vscode/tasks.json vendored
View File

@@ -85,5 +85,24 @@
"task": "hygiene",
"problemMatcher": []
},
{
"type": "shell",
"command": "yarn web -- --no-launch",
"label": "Run web",
"isBackground": true,
// This section to make error go away when launching the debug config
"problemMatcher": {
"pattern": {
"regexp": ""
},
"background": {
"beginsPattern": ".*node.*",
"endsPattern": "Web UI available at .*"
}
},
"presentation": {
"reveal": "never"
}
},
]
}