[FEATURE]:Optimize hot reloading for configuration changes - all modifications require app restart to take effect #7776

Open
opened 2026-02-16 18:08:12 -05:00 by yindo · 2 comments
Owner

Originally created by @icysaintdx on GitHub (Jan 27, 2026).

Originally assigned to: @adamdotdevin on GitHub.

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

All configuration changes currently require a full restart of the desktop app to take effect, which severely impacts the user experience. This applies to all types of settings including provide, model configurations, plugins, agents, and any edits made to opencode.json.
Could you please optimize the hot reloading functionality so that configuration modifications can take effect in real-time (or with a simple refresh) without needing to restart the entire application?

This frequent restart adds unnecessary friction to development and daily use, especially when adjusting multiple configuration items for testing.

Originally created by @icysaintdx on GitHub (Jan 27, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request All configuration changes currently require a full restart of the desktop app to take effect, which severely impacts the user experience. This applies to all types of settings including provide, model configurations, plugins, agents, and any edits made to opencode.json. Could you please optimize the hot reloading functionality so that configuration modifications can take effect in real-time (or with a simple refresh) without needing to restart the entire application? This frequent restart adds unnecessary friction to development and daily use, especially when adjusting multiple configuration items for testing.
yindo added the discussionweb labels 2026-02-16 18:08:12 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

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

  • #8751: [FEATURE]: Hot-reload agents, skills and commands - requests real-time reloading of configs/agents/skills without restart
  • #6815: [FEATURE]: Add command palette action to reload configuration without restart - explicitly covers opencode.json, providers, models, keybindings reload
  • #6719: [FEATURE]: slash command for reload - requests /reload command to reload config files without closing the app
  • #9113: [FEATURE] Add /restart command - requests /restart command that reloads configuration automatically
  • #7701: [FEATURE]: Reload auth.json if changed - related request for hot-reloading auth.json

Feel free to ignore if your request addresses a specific case these don't cover. Note that #8751 mentions an existing EXPERIMENTAL_HOT_RELOAD flag that may be worth investigating.

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #8751: [FEATURE]: Hot-reload agents, skills and commands - requests real-time reloading of configs/agents/skills without restart - #6815: [FEATURE]: Add command palette action to reload configuration without restart - explicitly covers opencode.json, providers, models, keybindings reload - #6719: [FEATURE]: slash command for reload - requests /reload command to reload config files without closing the app - #9113: [FEATURE] Add /restart command - requests /restart command that reloads configuration automatically - #7701: [FEATURE]: Reload auth.json if changed - related request for hot-reloading auth.json Feel free to ignore if your request addresses a specific case these don't cover. Note that #8751 mentions an existing `EXPERIMENTAL_HOT_RELOAD` flag that may be worth investigating.
Author
Owner

@benjaminshafii commented on GitHub (Feb 14, 2026):

I created a sample solutino to this problem https://github.com/anomalyco/opencode/pull/13409
benjaminshafii (it still requires manual intervention, but could be extended in the future by adding a /reload command`)

@benjaminshafii commented on GitHub (Feb 14, 2026): I created a sample solutino to this problem https://github.com/anomalyco/opencode/pull/13409 benjaminshafii (it still requires manual intervention, but could be extended in the future by adding a /reload command`)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7776