actboy168 / vscode-tasks

MIT License
37 stars 14 forks source link

add support for compound tasks #29

Closed thatkookooguy closed 3 years ago

thatkookooguy commented 3 years ago

Compound tasks doesn't seem to work.

when I setup these tasks:

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "start:dev",
      "detail": "Start both server & client for development",
      "dependsOn": [
        "dev:server",
        "dev:client-proxy"
      ],
      "problemMatcher": []
    },
    {
      "type": "npm",
      "script": "start:proxy",
      "path": "client/",
      "problemMatcher": [],
      "label": "dev:client-proxy",
      "detail": "ng serve --port 10101 --proxy-config ./proxy.conf.json",
      "presentation": {
        "reveal": "always",
        "panel": "shared",
        "group": "devwatch"
      }
    },
    {
      "type": "npm",
      "script": "start:server",
      "problemMatcher": [],
      "label": "dev:server",
      "detail": "cd ./server && npm run start:dev",
      "presentation": {
        "reveal": "always",
        "panel": "shared",
        "group": "devwatch"
      }
    }
  ]
}

This is what I see in the UI: image

expected: should also see start:dev as a task