Skip to content

Feature Request: Add /reloadSettings command to reload configuration without restart #5513

@NightMachinery

Description

@NightMachinery

Feature Request: /reloadSettings slash command

Summary

Add a /reloadSettings slash command that reloads the settings.json configuration without requiring a full Claude Code restart.

Proposed Usage

/reloadSettings    # Reloads all settings from settings.json files

Current Problem

When making changes to settings.json (user, project, or enterprise level), users must:

  1. Exit Claude Code (Ctrl+D or Ctrl+C)
  2. Restart Claude Code
  3. Wait for initialization

This interrupts workflow and loses conversation context when tweaking settings like permissions, hooks, or other configurations.

Expected Behavior

  • Reload all settings.json files in precedence order (user → project → enterprise)
  • Apply new permissions, hooks, and other configurations immediately
  • Preserve current conversation context and history
  • Show confirmation message indicating settings were reloaded
  • Handle any errors gracefully (invalid JSON, permission conflicts, etc.)

Use Cases

  • Iterating on permission configurations during development
  • Testing different hook configurations
  • Adjusting timeout settings without losing context
  • Quick experimentation with new settings
  • Collaborative development where settings change frequently

Implementation Notes

  • Should validate settings before applying (prevent broken configurations)
  • Should handle partial failures gracefully
  • Could show a diff of what changed (optional)
  • Should work with all setting types (permissions, hooks, timeouts, etc.)
  • Consider adding a confirmation prompt for potentially disruptive changes

This would significantly improve the developer experience when working with Claude Code configurations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions