Sidebar file view does not auto-refresh when AI modifies open files (requires manual reopen)
Open 💬 4 comments Opened Apr 16, 2026 by MeXenon
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
latest
What subscription do you have?
Plus
What platform is your computer?
_No response_
What issue are you seeing?
When opening a file from the Codex desktop application's sidebar (especially markdown files), the file content does not automatically update if the AI modifies it. The user must manually close and reopen the file tab to see the latest changes. This disrupts workflow and creates confusion about whether updates were applied.
What steps can reproduce the bug?
- Open Codex desktop application
- Navigate to the sidebar file explorer
- Open a markdown file (or any editable file)
- Trigger the AI to modify or update that file
- Observe the open file tab content
- Close and reopen the file tab
What is the expected behavior?
_No response_
Additional information
_No response_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
This is very annoying, especially when fine-tuning a document and it wouldn't update on its own.
I'd say it's not really related to the suggested duplicates.
I hit the same issue today in Codex Desktop on Windows, with a slightly different but important reproduction path:
C:\Users\ivan4.000\.codex\AGENTS.mdin the right-side file viewer.AGENTS.md (line 17).So this is not only a missing auto-refresh while the file tab is open. The file-link/open-file path also appears to reuse the existing editor/document model without checking whether the on-disk file changed.
Expected behavior: when focusing an already-open file from a response link, or after agent-side edits, the app should detect the changed on-disk file and refresh the viewer, or at least show a reload prompt. Otherwise users can easily think the agent did not actually modify the file, which is especially confusing for rule/config files like
AGENTS.md.Agree. I feel like I'm misunderstanding how to use codex because of this. Do folks not leave file previews open to give feedback/watch file edits?