anthropics / anthropics/claude-code

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

Ouverte
#92,860 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:desktop area:ui bug platform:windows
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.