zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.81k stars 3.06k forks source link

Directory file tree is not updated under a symlinked directory after viewing the folder #13589

Open aryeh opened 4 months ago

aryeh commented 4 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Changes to files inside a directory that is symlinked into the project are not updated after their first view in the file tree panel.

  1. Create a directory outside of the project.
  2. make a symlink to the external directory inside the project
  3. view (open) the symlinked directory in the zed file tree panel
  4. outside of Zed, create a new file inside the external symlinked directory, or otherwise change the files there.
  5. Zed's tree of the symlinked directory will not have been updated. Collapsing/Uncollapsing the folder does not refresh it.

Environment

Zed: v0.141.2 (Zed) OS: macOS 14.5.0 Memory: 128 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

Zed.log


notpeter commented 1 week ago

Can you see if this is still an issue with a current Zed? There have been some enhancement of how we follow symlinks on Linux somewhat recently and this may have been fixed.