Skip to content

[BUG] Desktop app file tree does not update with git changes (file watcher not refreshing) #19182

Closed as not planned

Description

@zurriburro

Description

OpenCode desktop app file tree does not update to show uncommitted git changes. Files that have been modified appear stale in the file tree, while other AI coding tools (Claude Code, Antigravity) correctly display the same changes.

Expected Behavior

The file tree should:

  • Show uncommitted git changes (modified files indicator)
  • Refresh when files are changed outside the app
  • Display current git status accurately

Actual Behavior

  • File tree shows stale state
  • Git changes are not reflected in the UI
  • Restarting the desktop app does not resolve the issue
  • Other tools (Claude Code, Antigravity) show changes correctly

Troubleshooting Attempted

  1. Restarted desktop app completely - no fix
  2. Verified opencode.json watcher config is correct
  3. Confirmed changes exist via git status
  4. Compared with Claude Code and Antigravity (both show changes correctly)

Configuration

Watcher config: Standard ignore patterns (node_modules/**, .next/**, .git/**, etc.)

Watcher config in opencode.json:

"watcher": {
  "ignore": ["node_modules/**", ".next/**", "out/**", ".git/**", ".sisyphus/**"]
}

Plugins

opencode-antigravity-auth@latest

OpenCode version

OpenCode Desktop v1.3.2

Steps to reproduce

  1. Open a project in OpenCode desktop app
  2. Make changes to files (e.g., modify opencode.json, edit source files)
  3. Check git status via terminal: git status shows modified files
  4. Observe that the desktop app file tree does not show any change indicators
  5. Restart the desktop app - file tree still shows stale state

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

OpenCode Desktop

Activity

  1. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

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

  2. Allencccc commented on Mar 27, 2026

    @Allencccc

    I'm experiencing the same problem on macOS with OpenCode Desktop (Beta).

  3. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  4. 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