spmeesseman / vscode-taskexplorer

Run and Manage Tasks for Visual Studio Code
Other
141 stars 30 forks source link

Terminal not found error when stopping a compound task #159

Open GorvGoyl opened 3 years ago

GorvGoyl commented 3 years ago

When I stop a dependsOn compound task, I get the error: Terminal not found. I have to manually stop underlying tasks each time.

tasks.json:

    {
      "label": "tsc watch & start:func",
      "dependsOn": ["npm: watch", "npm: start:func"]
    },

{
      "type": "npm",
      "script": "watch",
      "group": "test",
      "problemMatcher": [],
      "label": "npm: watch",
      "detail": "tsc --watch",
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": false,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
      }
    },

{
      "type": "npm",
      "script": "start:func",
      "problemMatcher": [],
      "label": "npm: start:func",
      "detail": "firebase emulators:start --only functions",
      "presentation": {
        "echo": true,
        "reveal": "always",
        "focus": true,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
      }
    }

image

ItamarShDev commented 1 year ago

Happens to me on all tasks too

tyler36 commented 1 year ago

Happens for me too on latest versions.

Task Explorer: 2.13.2 VSCode: 1.75.1 OS: Windows 10

blu28 commented 1 year ago

This happens to me anytime a task gets an error for some reason.