anomalyco / anomalyco/opencode

Desktop file panel does not live-refresh on external file changes

Open
#48,451 1 comment 2 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Sep 11, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

In the desktop app, the "All files" panel does not live-update when files change on disk outside of the agent Write tool. Newly created files only show up after an unrelated refresh, and deleted files never disappear.

The bug is tied to the location-scoped filesystem watcher: when a project directorys location is invalidated, the inotify subscription is torn down and never re-subscribed, so the panel keeps showing stale state.

Plugins

None

OpenCode version

Desktop app, latest dev build

Steps to reproduce
  1. Open the desktop app on a project directory.
  2. From a terminal in the same directory, run touch new-file.txt.
  3. The "All files" panel shows no new entry until some unrelated refresh happens.
  4. Delete a listed file (rm some-file.txt); it stays listed in the panel.
Screenshot and/or share link

n/a

Operating System

Linux

Terminal

n/a (desktop app)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.