-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Variable '${defaultBuildTask}' not reliably found #158817
Comments
@meganrogge the task service contributes the variable vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts Lines 298 to 299 in 49de874
|
When I |
could be the root cause: #157814 |
Yes, the 10 second delay could explain the problem. And my workaround "to change a single character in tasks.json or launch.json" only helps because it takes longer than 10 seconds... |
I am actually no longer able to reproduce the issue I mentioned above and it's working for me in an extension 🤔 |
@weinand are you still able to repro? |
@meganrogge in today's Insiders I'm no longer able to reproduce the issue. |
great, pls reopen this if you see it again |
Marking as not-reproducible |
Recently I'm seeing this problem in Insiders:
When debugging a plain "hello world" extension, sometimes the
${defaultBuildTask}
does not resolve to the default task defined in tasks.json:Instead the npm scripts from the package.json are shown in a Quickpick:
Restarting VS Code does not help, but changing a single character in the tasks.json or launch.json fixes the problem.
The text was updated successfully, but these errors were encountered: