-
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
Consider listening for document close for tasks that have a problem matcher that applies only to closed documents #116760
Comments
Not sure who shall own this, it seems corresponding task is not creating the diagnostics |
I will take a look. |
@bpasero I'm not able to repro this. Tested with both desktop and in web with a Codespace. My steps:
Is it possible that you had the file open, had the error, then closed the file? The tasks system has always had the behavior that for typescript that will cause the error to go away until there's a file change that causes the build task to print the error again. This is because the typescript extension and the problem matcher for our build task use the same error source to prevent duplicate errors. |
Yeah possibly. The reason this frustrated me is that I had pushed changes to our Imho whatever error is indicated in the terminal from a task should be reflected in the global problems entry and protect me from pushing code with compile errors. |
If you have |
I suppose the tasks system could listen for file changes then re-apply all of the last problems. |
The text was updated successfully, but these errors were encountered: