You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by seanamosw, Danny Tuppeny, nixxquality, Gaspar Dip, francofs, Dwayne Hinterlang, Mark Murphy, Pierre Robillard and alesdvorakcz
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
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
Activity
isidorn commentedon Mar 14, 2018
This is a fair feature request. Not on our plan atm.
fyi Andre Weinand (@weinand)
isidorn commentedon Oct 8, 2019
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
isidorn commentedon Oct 22, 2019
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
guidobouman commentedon Nov 20, 2019
Isidor Nikolic (@isidorn) Thanks again for this! Brings VS Code one step closer to feature parity with (and ux triomph over) Visual Studio.