Claude Code v2.1.336 ·
Hooks on Windows no longer reuse a waiting Git Bash shell
Hooks on Windows Git Bash no longer reuse a shell that is already waiting, and how a hook is stopped has changed
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WindowsArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
Unclear It is not clear whether the new way of stopping hooks is switched on, or what you will notice on Windows.
What
Hooks are scripts you set up to run when Claude Code does something. The way Claude Code starts them changed:
- Windows: hooks no longer reuse a Git Bash shell that is already waiting, and no longer write a starting command into that shell's input.
- Stopping: Claude Code can now stop a running hook directly, behind an internal check.
Why
This may change how hooks behave on Windows and what happens when a hook is cancelled.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the new way of stopping hooks is switched on, or what you will notice on Windows.
See this entry in the whole of v2.1.336 →