Skip to content

Zed editor doesn't know if the files are changed elsewhere. Especially with GRPC and ORM code generation tools.  #15791

@Gantushig77

Description

@Gantushig77

Check for existing issues

  • Completed

Describe the feature

Zed editor doesn't know when files changed elsewhere. Especially when using gRPC to generate code, it doesn't know whether or not the old generated files are changed. Also, ORM schema files are not syncing.

I am using the editor with the Golang micro-service project on the MacOS Sequoia public beta release. Also using the Docker compose with a volume that bound the local source code files with the VM and git submodules enabled.

I am currently using the version Zed 0.146.5 release version, with the vim-mode enabled.

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

No response

Activity

andelo

andelo commented on Aug 8, 2024

@andelo

A workaround is to Go To Definition so that Zed reads in the changed file.
Apparently file watching is defunct.

mikayla-maki

mikayla-maki commented on Mar 10, 2025

@mikayla-maki
Member

Zed 0.146.5

Zed is currently on v0.176.3, can you update and tell me if you're still seeing the issue?

dandv

dandv commented on Apr 25, 2025

@dandv
Contributor

I'm still unable to find a setting for controlling the notification of filesystem changes to open files ("watching"). It seem that the behavior or Zed is:

  • if the editor buffer has no changes, external changes are reflected live
  • if the editor does have changes, when the file has been changed externally, there is no notification.
    • only when attempting to save, is this pop-up shown:

      Image

It would be great to have an option for diffing the on-disk file vs. the editor. JetBrains IDEs do this.

Zed 0.183.10

itpropro

itpropro commented on May 18, 2025

@itpropro

I'm still unable to find a setting for controlling the notification of filesystem changes to open files ("watching"). It seem that the behavior or Zed is:

* if the editor buffer has no changes, external changes are reflected live

* if the editor does have changes, when the file has been changed externally, there is no notification.
  
  * only when attempting to save, is this pop-up shown:
    ![Image](https://github.com/user-attachments/assets/f57ddbe8-5d8d-4569-9885-dc469fca356c)

It would be great to have an option for diffing the on-disk file vs. the editor. JetBrains IDEs do this.

Zed 0.183.10

I regularly run into these type of issues. Having a file open in the editor with some minor changes and then having either another editor, generator or whatever change the file outside of zed.
Would be great if there would be a merge offered for this.

eikooc

eikooc commented on Jun 27, 2025

@eikooc

I also run into this issue when checking out different branches with git, then if there is a new folder it doesn't show up in Zed.

Another issue I frequently encounter is when rebasing, the file buffer sometimes doesn't notice that the file has been updated and so I can't edit the file correctly.

Running git status sometimes alleviates some issues

AdamVyborny

AdamVyborny commented on Jul 23, 2025

@AdamVyborny

This is why I have to left Zed. Not usable with Claude Code because when I manually edit files, it does not show changes done by CC.

cogscides

cogscides commented on Aug 9, 2025

@cogscides

This is why I have to left Zed. Not usable with Claude Code because when I manually edit files, it does not show changes done by CC.

Same for me with Codex CLI and Gemini CLI

dmavrommatis

dmavrommatis commented on Oct 19, 2025

@dmavrommatis

How is this an acceptable behavior for an IDE? There are hundreds of tools that can potentially change the files that you have open.

For example, a pre-commit hook might lint/format a file, you might add an npm dependency on your package.json, you might run uv add to add a python dependency. I would expect zed to show me the changes on the files if I have them open and not rely me to re-open the file.

aditya-perplexity

aditya-perplexity commented on Oct 28, 2025

@aditya-perplexity

I do not have this issue on v0.209.6 (macOS Sequoia 15.6). It's probably somehow environment-dependent.

dmavrommatis

dmavrommatis commented on Oct 28, 2025

@dmavrommatis

I do not have this issue on v0.209.6 (macOS Sequoia 15.6). It's probably somehow environment-dependent.

I downloaded the latest version and I also seem to not have this problem anymore.

chids04

chids04 commented on Nov 3, 2025

@chids04

i noticed this issue is very inconsistent, sometimes over ssh i can look at my remote machine and see the changes being applied automatically in the open editor, other times it doesn't, very hard to find a way to repro too

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dandv@eikooc@mikayla-maki@SomeoneToIgnore@andelo

        Issue actions

          Zed editor doesn't know if the files are changed elsewhere. Especially with GRPC and ORM code generation tools. · Issue #15791 · zed-industries/zed