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

preLaunchTask in background #232200

Closed
Malix-Labs opened this issue Oct 24, 2024 · 6 comments
Closed

preLaunchTask in background #232200

Malix-Labs opened this issue Oct 24, 2024 · 6 comments
Assignees
Labels
feature-request Request for new features or functionality tasks Task system issues

Comments

@Malix-Labs
Copy link
Contributor

Malix-Labs commented Oct 24, 2024

Feature Request

Problem

Some tasks need to continue running in background after launch (i.e. : vite dev)

However, VSCode wait for preLaunchTask to finish before launching

There is no way to make a non "isBackground": true task launchable in background with preLaunchTask

Solution

A preLaunchTask background option

Also, it would be very nice to also have an option to automatically kill this task upon debug ended (i.e. chrome window has been closed)

Workaround

Add "isBackground": true to the related task in tasks.json

However, sometimes, the task are not user provided and are provided by an extension (example : denoland/vscode_deno#1193), which forces us to duplicate and maintain an unsynced task

Configuration

VS Code version: Code 1.94.2 (384ff73, 2024-10-09T16:08:44.566Z)
OS version: Linux x64 6.10.10-200.fc40.x86_64
Modes:
Remote OS version: Linux x64 6.10.10-200.fc40.x86_64

@Malix-Labs Malix-Labs changed the title preLaunchTask parallel preLaunchTask in background Oct 24, 2024
@meganrogge meganrogge added feature-request Request for new features or functionality tasks Task system issues labels Oct 24, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Oct 24, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@Malix-Labs
Copy link
Contributor Author

Malix-Labs commented Oct 24, 2024

@meganrogge it's almost more of a bug (design) report than a feature request tbh

Copy link

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@Malix-Labs
Copy link
Contributor Author

@meganrogge can you fix that

Copy link

🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 25, 2024
@Malix-Labs
Copy link
Contributor Author

@meganrogge please fix #232200 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants