-
|
I installed the plugin using the following commands: After installation, I asked Claude Code to run npm run dev, but the hook did not trigger as expected. I checked the documentation and noticed that the hook configuration uses a matcher like: It seems that this matcher syntax is not supported, which might be why the hook is not working in my case. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
same issue here |
Beta Was this translation helpful? Give feedback.
-
|
That report was valid for older ECC hook configs. Claude Code's matcher support is much narrower than the old expression-style examples implied. Current main / If
If this still reproduces on current main, open an issue with the installed |
Beta Was this translation helpful? Give feedback.
That report was valid for older ECC hook configs.
Claude Code's matcher support is much narrower than the old expression-style examples implied. Current main /
v1.8.0no longer relies ontool == ... && tool_input ...matcher expressions for the core hooks. The repo now uses simple event matchers likeBash,Edit,Write, andStop, and does the real filtering inside script files. That change was part of the recent hook reliability pass.If
npm run devstill does nothing on your machine, the first things to check are:ECC_DISABLED_HOOKSis not disabling the relevan…