-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Watch failed lookups, affecting locations only if resolution was failed #61861
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
base: main
Are you sure you want to change the base?
Conversation
@typescript-bot pack this |
Hey @sheetalkamat, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
@typescript-bot cherry-pick this to release-5.8 |
Hey, @sheetalkamat! I've created #61864 for you. This involved updating baselines; please check the diff. |
So, for anyone reading this, and my own understanding - the problem is that typically if you do an import of But that is generally uncommon if we've actually resolved a module. And so it sounds like the idea here is that if a module was actually resolved and found, we won't add watchers for any place we would have looked. If you do find yourself in an uncommon situation, you'll need to restart tsserver. |
Why does this happen anyway? Shouldn't this trigger a re-resolve?
This one I'm not clear on - can you elaborate? |
This is the most aggressive version : 3 types of tests failure
Left the tests to fail
Number of watched resolutions went down!! so invalidating time should go down drastically
to