Skip to content

Allow preLaunch task for compound list #45676

Closed

Description

Issue Type: Feature Request

Currently we can add a preLaunchTask prop to any launch setting. This works well when running a single project. But this get unworkable when using compounds.

When running multiple projects (website, API & CMS for example) in a compound launch task, triggering a build task from each preLaunchTask can throw an error about files being in use during buildtime. This happens when a buildable dependency is referenced from more than one project.

Can we allow compounds to have a preLaunchTask as well? Then we can trigger a global build and run all of the projects after the single build has succeeded. Much like the start command in Visual Studio on Windows works right now.

VS Code version: Code 1.21.0 (9a199d7, 2018-03-07T10:54:22.798Z)
OS version: Darwin x64 17.4.0

Activity

  1. added
    tasks
    on Mar 13, 2018
  2. added
    debug
    and removed
    tasks
    on Mar 14, 2018
  3. isidorn commented on Mar 14, 2018

    @isidorn

    This is a fair feature request. Not on our plan atm.
    fyi Andre Weinand (@weinand)

  4. added
    feature-request
    on Mar 14, 2018
  5. isidorn commented on Oct 8, 2019

    @isidorn

    This should be possible now that Alex Ross (@alexr00) added global tasks.
    So adding to this milestone so Alex Ross (@alexr00) and me look into if something is missing here

  6. isidorn commented on Oct 22, 2019

    @isidorn

    I have pushed support for this.
    I have tried it out and it seems to work nicely..
    Please try it out in vscode insiders from Wednesday and let me know how it beahves

  7. guidobouman commented on Nov 20, 2019

    @guidobouman
    Author

    Isidor Nikolic (@isidorn) Thanks again for this! Brings VS Code one step closer to feature parity with (and ux triomph over) Visual Studio.

  8. locked and limited conversation to collaborators on Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debugfeature-requeston-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions