[PR #11728] fix(desktop): Refresh file contents when changing workspaces to not have stale contents #13912

Closed
opened 2026-02-16 18:18:44 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11728

State: closed
Merged: Yes


Fixes #11727

What does this PR do?

This PR fixes the stale file contents that occur when switching workspaces. Before this PR, switching workspaces and opening files would reflect stale file content not the latest file content for that worktree.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Ran desktop app, made changes in both worktrees, verified they showed up differently

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11728 **State:** closed **Merged:** Yes --- Fixes #11727 ### What does this PR do? This PR fixes the stale file contents that occur when switching workspaces. Before this PR, switching workspaces and opening files would reflect stale file content not the latest file content for that worktree. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? Ran desktop app, made changes in both worktrees, verified they showed up differently
yindo added the pull-request label 2026-02-16 18:18:44 -05:00
yindo closed this issue 2026-02-16 18:18:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13912