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 using bash silently fail on Windows because Git Bash's bash.exe is not on the system PATH by default. The hook runner uses the OS shell and system PATH, uโฆ