[BUG] Changes to `.claude/` are not detected until session restart

Resolved 💬 3 comments Opened Jan 17, 2026 by omidmogasemi Closed Jan 21, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I make changes to .claude/, they are not detected until session restart. Examples of this include:

  • Adding a new skill or slash command file
  • Editing an existing skill or slash command file

What Should Happen?

When I make changes to .claude/, Claude Code should either:

  • Watch that directory and update the references it has to those files
  • Show an alert (in the CLI and the SDK) indicating that the .claude/ directory is out of sync with the Claude Code process.

Error Messages/Logs

Steps to Reproduce

  1. Run claude
  2. Add a new slash command (at a location like .claude/commands/test-skill.md)
  3. Send a message asking to use that new slash command, and Claude will respond that it does not have that slash command.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.11

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗