Skip to content

[BUG] Changes panel does not update when files are modified externally in desktop #23321

Closed as not planned

Description

@felipebrgs1

Bug Description

When a file is modified manually (via VSCode or another editor outside of OpenCode), the "Changes" panel in the desktop app does not update automatically. The user has to perform an action in the app (like moving the cursor or switching sessions) to see the changes.

Root Cause

The file watcher system uses SSE events to notify the frontend when a file changes (file.watcher.updated → refreshVcs() ). However, in the desktop app, these SSE events may not arrive reliably, causing the Changes panel to become stale.

Expected Behavior

The Changes panel should automatically refresh within a few seconds when a file is modified externally.

Environment

  • OpenCode Desktop app (electron)
  • File watcher enabled

Activity

  1. github-actions commented on Apr 18, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review those issues and consider adding a comment there instead if they cover the same problem.

  2. removed
    webRelates to opencode on web / desktop
    on May 3, 2026
  3. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions