2024-01-09 00:31:06 +01:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/collector",
|
|
|
|
"statusbar": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"detail": "Runs the collector",
|
|
|
|
"label": "Collector: $(play) run",
|
|
|
|
"running": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"label": "Collector: $(gear~spin) running"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": "cd ${workspaceFolder}/collector/ && yarn dev",
|
|
|
|
"runOptions": {
|
|
|
|
"instanceLimit": 1,
|
|
|
|
"reevaluateOnRerun": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": true,
|
|
|
|
"clear": false
|
|
|
|
},
|
|
|
|
"label": "Collector: run"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/server",
|
|
|
|
"statusbar": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"detail": "Runs the server",
|
|
|
|
"label": "Server: $(play) run",
|
|
|
|
"running": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"label": "Server: $(gear~spin) running"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-08-05 18:29:56 +02:00
|
|
|
"command": "if [ \"${CODESPACES}\" = \"true\" ]; then while ! gh codespace ports -c $CODESPACE_NAME | grep 3001; do sleep 1; done; gh codespace ports visibility 3001:public -c $CODESPACE_NAME; fi & cd ${workspaceFolder}/server/ && yarn dev",
|
2024-01-09 00:31:06 +01:00
|
|
|
"runOptions": {
|
|
|
|
"instanceLimit": 1,
|
|
|
|
"reevaluateOnRerun": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": true,
|
|
|
|
"clear": false
|
|
|
|
},
|
|
|
|
"label": "Server: run"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/frontend",
|
|
|
|
"statusbar": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"detail": "Runs the frontend",
|
|
|
|
"label": "Frontend: $(play) run",
|
|
|
|
"running": {
|
|
|
|
"color": "#ffea00",
|
|
|
|
"label": "Frontend: $(gear~spin) running"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"command": "cd ${workspaceFolder}/frontend/ && yarn dev",
|
|
|
|
"runOptions": {
|
|
|
|
"instanceLimit": 1,
|
|
|
|
"reevaluateOnRerun": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "shared",
|
|
|
|
"showReuseMessage": true,
|
|
|
|
"clear": false
|
|
|
|
},
|
|
|
|
"label": "Frontend: run"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|