Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two build/watch tasks in same workspace can no longer run simultaneously since v1.43 #93398

Closed
markm77 opened this issue Mar 25, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Milestone

Comments

@markm77
Copy link

markm77 commented Mar 25, 2020

I have a workspace with two projects (folders) each of which has a build/watch task. It used to be fine to have the build/watch tasks run simultaneously, even on startup, but now this is not possible. The first task can always run but the second will produce a dialog stating "The task 'X (Y)' is already active." and offering to terminate or restart the first task. So it seems VS Code now sees them as one task.

The tasks both have the form below where I have tried renaming groups/labels and other things to work around this problem with no success.

    {
      "label": "Build/watch 1",
      "type": "typescript",
      "tsconfig": "tsconfig.json",
      "option": "watch",
      "problemMatcher": [
        "$tsc-watch"
      ],
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "presentation": {
        "group": "Build/watch 1a",
        "clear": true,
      }
      // "runOptions": {
      //   "runOn": "folderOpen"
      // }
    }
@alexr00 alexr00 added bug Issue identified by VS Code Team member as probable bug tasks Task system issues labels Mar 26, 2020
@alexr00 alexr00 added this to the March 2020 milestone Mar 26, 2020
@connor4312 connor4312 added the verified Verification succeeded label Apr 3, 2020
@markm77
Copy link
Author

markm77 commented Apr 9, 2020

Thanks VS Code team for fixing this!

@github-actions github-actions bot locked and limited conversation to collaborators May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants