humus-old/.vscode/tasks.json

54 lines
1.3 KiB
JSON
Raw Permalink Normal View History

2020-06-15 17:24:43 -05:00
{
"version": "2.0.0",
"tasks": [
{
"label": "Client",
"type": "shell",
"isBackground": true,
"command": "yarn",
"args": ["run", "client"],
"problemMatcher": [
{
"owner": "custom",
"pattern": { "regexp": "__________" },
"background": {
"activeOnStart": true,
"beginsPattern": "(Compiling|Project is running)",
"endsPattern": "(?:Compiled successfully|Failed to compile)"
},
}
],
},
{
"label": "Server",
"type": "shell",
"isBackground": true,
"command": "yarn",
"args": ["run", "server", "--inspect=127.0.0.1:43000"],
"problemMatcher": [
{
"owner": "custom",
"pattern": { "regexp": "You need to restart the application" },
},
{
"owner": "custom",
"pattern": { "regexp": "__________" },
"background": {
"activeOnStart": true,
"beginsPattern": "(Hash:|Updated modules)",
"endsPattern": "(Built at:|Update applied)"
},
},
],
},
{
"label": "Both",
"isBackground": true,
"dependsOn": [
"Client",
"Server"
],
"problemMatcher": [],
}
]
}