Skip to content
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

Documentation is not refreshed when modified #921

Closed
TimvdLippe opened this issue Oct 25, 2016 · 2 comments
Closed

Documentation is not refreshed when modified #921

TimvdLippe opened this issue Oct 25, 2016 · 2 comments

Comments

@TimvdLippe
Copy link
Contributor

After you modify the documentation of an element, getDocumentationAtPosition called in a different file does not refresh. I am currently working on the documentation tooltip. The tooltip is showing the documentation of vanilla.js correctly. After I modified the documentation of vanilla.js, going back to the index.html the tooltip does not reflect the new value of the documentation. I have to close index.html and reopen the file to be able to refresh the documentation.

@rictic
Copy link
Contributor

rictic commented Oct 26, 2016

Oh, interesting, yeah I was able to reproduce this in vscode as well. So this should work if you modify index.html after modifying vanilla.js (as a temporary workaround), but this is a bug in the analyzer. We recently added some more caching and we're not doing cache expiry correctly based on dependencies, as we should throw out the cache of index.html when you modify vanilla.js.

Filed as https://github.com/Polymer/polymer-analyzer/issues/369 in the analyzer.

@rictic rictic closed this as completed Dec 14, 2016
@tedium-bot
Copy link
Collaborator

Issue migrated to polymer/tools#465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants