anthropics / anthropics/claude-code
[BUG] Files viewed in Claude Desktop do not consistently update when changed.
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100