13:19
2026-07-16
dev.to
developer-tools
Your Claude Code hook doesn't fire on Windows, and nothing tells you why
A developer discovered that Claude Code hooks invoking bash silently fail on Windows because Git Bash is not on the system PATH by default. The hook runner uses the OS shell and PATH, unlike the Bash …