-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Error from build task does not appear in problems pannel #124780
Comments
@alexdima a few questions:
|
@alexr00 This is on mac. Yes, I think I had the file opened and then I closed it. I often do Close All to clear up by tabs and then go through remaining errors to prepare the commit. |
I'm not able to repro still, but maybe it's platform specific. @alexdima can you turn on terminal logging (Terminal: Toggle Escape Sequence Logging) then share the output from the debug console when the issue occurs? |
@alexr00 Yes, this looks to be OS specific. It reproduces immediately on the mac by running the build and then closing a file with errors. It does not reproduce on Windows.
Here is the output:
|
@alexdima it could be an issue with file watching then. When a file is closed, tasks re-assesses the problems, but it sounds like that isn't happening. Can you set your log level to trace, try to repro, then share the Window logs? |
@alexr00 Now I tried again to reproduce on mac and had problems reproducing, until I realized what you wrote: "when a file is closed, tasks re-assesses the problems". I often use Close All and often end up closing multiple files even if they are not opened in the current tab. With this in mind, I tried again and now I can repro even on Windows:
In the recording, I run into another issue of some sort, where the error is not clickable and the error message is all garbled up 🤷♂️ |
Nevermind the weird part of the recording, I cannot find clear steps to trigger that. Sorry about that! |
This is a very sad duplicate of #119824 and a side effect of the work around I added for showing problems for tasks when a file is closed (#61140). To truly solve these issues, we will need help from the markers service to let markers have an additional "source" property so we can finally tell the difference between problems that come from the typescript language server and problems that come from tasks. @sandy081 FYI for the markers service. |
cc @jrieken for markers service |
That's how |
/duplicate #119824 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
cmd+shift+B
to run the build taskKapture.2021-05-27.at.21.23.32.mp4
The text was updated successfully, but these errors were encountered: