anthropics / anthropics/claude-code

[BUG] Files viewed in Claude Desktop do not consistently update when changed.

Offen
#92,860 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:desktop area:ui bug platform:windows
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

Using Claude Code in the Claude Desktop application
I have my conversation open and next to it using the "..." -> "Files" menu I have open a file that we're working on.

Claude edits the file but the file preview on the right does not update. It's showing a stale copy.

I have to press F5 to refresh it.

### What Should Happen?

When Claude edits the file, or ideally, when anything edits the file, the view of it should update.

### Error Messages/Logs

```shell

```

### Steps to Reproduce

- Create a directory
- Open it in claude code, in claude desktop app.
- Ask to create a file (Example.md)
- Open it in the 'Files' side panel
- Have claude keep updating it as the conversation continues
- Watch as sometimes the view of the document doesn't update.

### Claude Model

_No response_

### Is this a regression?

I don't know

### Last Working Version

_No response_

### Claude Code Version

2.1.251

### Platform

Anthropic API

### Operating System

Windows

### Terminal/Shell

Windows Terminal

### Additional Information

Incorrect "duplicates" are being detected. This issue is not:
- File-tree not updating
- File diffs not being shown or anything re. "diff viewer"

It does look like a duplication of this original issue: https://github.com/anthropics/claude-code/issues/67971 which says "Please open a new issue if this is still relevant" This issue is still relevant.

PS: I had to select "Windows Terminal" but I'm using ClaudeCode in the ClaudeDesktop app.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce this in Claude Desktop on Windows using the Files side panel and Example.md, then trace the file-preview refresh path and its file-change notifications. Done means edits made during the conversation consistently appear without pressing F5, while keeping the file-tree and diff-viewer cases separate.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.