anthropics / anthropics/claude-code
[BUG] Files viewed in Claude Desktop do not consistently update when changed.
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
### 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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100