-
-
Notifications
You must be signed in to change notification settings - Fork 619
fix(#1731 #1723 #1716): handle all external file system changes #1757
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
Conversation
…g absolute path, profile refresh
This reverts commit 5dfd8bd.
I would be very grateful for a review and real world test over a few days. This one has been tricky... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will use locally. Anything in particular to look out for?
Thank you.
Edit: added fix for #1716 in the interests of testing simplicity
|
else | ||
log.line("watcher", "node event executing refresh '%s'", node.absolute_path) | ||
end | ||
require("nvim-tree.explorer.reload").refresh_node(node) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will still result in one refresh for each instance of the symlinked dir, however optimising that away requires significant complexity.
Pulling the trigger. Thanks for testing @gegoune This has been a difficult fix. If there are issues I plan to push forward with fixes rather than reverting again. |
resolves #1731 #1723 #1716
Link directory nodes are the main issue here.
Outstanding, follow up PR: