zed
zed copied to clipboard
Image viewer tabs do not correctly watch for file changes
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
Im using SVN + MacFuse and ZED show me deleted earlier versions of PNG images. For example, we saved test.png, updated test.png file and in editor we see old version of file. VS Code for example show this file correctly
Environment
Zed: v0.146.5 (Zed) OS: macOS 14.1.1 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
Steps to reproduce:
- Download mario.png and luigi.png
- Open
mario.pngin Zed. - From the command line
cp luigi.png mario.png
Notice Zed still shows the Mario and not the Luigi! Zed should listen for image changes with inotify just like we do for other file buffers.
This is happening to me as well. Using the latest version of Zed Preview in the time of writing, and connected to a remote project. Running Mac OS 14.5 on an M1 Mac Air (aarch64). See picture below (left is old text, right is current new text, both from the same file). Have to delete the Zed project and reconnect as a newly added project as a workaround.
Duplicate of:
- https://github.com/zed-industries/zed/issues/11529