Skip to content

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

@zurriburro

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions