anthropics / anthropics/claude-code

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

Aperta
#92,860 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:desktop area:ui bug platform:windows
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.