-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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 does not fire on restart for "node" adapter #104246
Comments
Works for me with latest VS Code insiders @osolo can you repro using latest vscode insiders https://code.visualstudio.com/insiders/ |
@isidorn yes, I can repro this with the insiders build. What can I do to provide more information? |
It would be great to have a minimal possible repository which reproduces this. So we can just clone it from GitHub and see it repro on our machines. |
@isidorn did you use the zipped sample project I attached to the but report? It's very basic. All you need to do is unzip it and run |
@isidorn I'm doing the exact same as you: |
Do you have the following setting set?
|
This is a fresh install. My user settings file is empty. The default settings file has |
Then I suggest you F1 > developer tools > sources > put a breakpoint around here and try to investigate Also you can try to reproduce with a very plain typescript sample, for exaple vscode starter extension. |
Yeah, this helps. THanks a lot @connor4312 can you change that you pass the |
Indeed, this is the same as #102296. Thanks for reporting the issue, it should be fixed in 1.48.0 later this week (and is already fixed on VS Code Insiders). That's probably why you can't reproduce it, Isi :) /duplicate |
@connor4312 hmm but the user says that he can reproduce with insiders - that is what got me confuse, since I knew you fixed something in this area that is why I first asked for repro in insiders. |
Ah, okay, I missed that. @OzSolomon-MSFT can you set |
@connor4312 please find attached. |
Ah, got it, thanks 🙂 We weren't passing the tasks down to deeply nested children. |
Great, thanks for fixing. |
Steps to Reproduce:
preLaunchTask
.ts
files, introduce a syntax errorCtrl+Shift+F5
Expected: Should complain about the syntax error.
Actual: Does not - reruns the app without executing the
preLaunchTask
.I'm attaching a small sample project that demonstrates this problem: ts-test.zip
See also: #28979 which is an old, similar bug report. I don't know if this is a regression.
Does this issue occur when all extensions are disabled?: Yes. This happens on a fresh install.
The text was updated successfully, but these errors were encountered: