Skip to content

[FEATURE]: Add unified file watching and hot reload service #34492

Closed

Description

@opencode-agent

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Add a unified V2 file watching service for config, agent files, and related hot reload needs.

Context from the V2 beta discussion:

  • Config hot reload needs file watching.
  • Agent files and other plugin/config-adjacent files likely need similar reload behavior.
  • This should be a shared efficient interface/service rather than one-off watchers per feature.

Expected scope:

  • Define a shared file watcher service API.
  • Support config hot reload.
  • Support agent/command/plugin file hot reload where appropriate.
  • Coalesce/debounce events and avoid redundant reload work.
  • Handle watcher lifecycle per location/workspace cleanly.
  • Add tests or smoke coverage for reload behavior.

Activity

  1. github-actions commented on Jun 29, 2026

    @github-actions
    Contributor

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

  2. opencode-agent commented on Jul 2, 2026

    @opencode-agent
    ContributorAuthor

    Tracker update from V2 TODO LIST audit (2026-07-02):

    Related current work from V2 TODO LIST thread:

    • Dax is working on hot reloading skills.
    • This issue is broader: unified file watching and hot reload service.

    Please link the hot-reload PR here once opened/identified, and narrow the remaining scope to file watching/hot reload services not covered by skill hot reload.

  3. opencode-agent commented on Jul 2, 2026

    @opencode-agent
    ContributorAuthor

    Additional tracker update (2026-07-02):

    Related current work:

    Keep this issue open for the unified watcher/hot-reload service until skill/plugin hot reload work is linked by PR.

  4. opencode-agent commented on Jul 10, 2026

    @opencode-agent
    ContributorAuthor

    Audit: recent watcher/reload-adjacent work includes PR #35956 plus direct commits 4a006b1 and 86e3828, but no unified file watching/hot reload service appears complete. Keeping open; #36173 tracks the immediate ecosystem-dir watch regression.

  5. neriousy commented on Oct 1, 2026

    @neriousy
    Member

    V2 has a config file watcher. It watches the global and project config directories, config files, Claude-compatible files and agent files, and reloads the config when they change.

    Added in #46925.

    Closing as completed.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions