Environment
- Platform (select one):
- Claude CLI version: 1.0.69
- Operating System: Ubuntu 24.04.2
- Terminal: Terminal App
Bug Description
~8-10 second delay for Notification Hook
Steps to Reproduce
- Setup a hook for notifications
- Request Claude Code to go into a different directory in order to send me to trigger the notification hook.
Expected Behavior
The notification hook to query and execute immediately
Actual Behavior
[DEBUG] Matched 0 unique hooks for query "LS" (0 before deduplication)
[DEBUG] Found 0 hook commands to execute
10 Second Delay
[DEBUG] Getting matching hook commands for Notification with query: undefined
[DEBUG] Found 1 hook matchers in settings
[DEBUG] Matched 1 unique hooks for query "no match query" (1 before deduplication)
[DEBUG] Notification [echo "$(date): Notification hook triggered, playing sound" >> ~/.claude/hook.log && paplay ~/.claude/sounds/correct-answer.wav &] completed with status 0
Additional Context
Environment
Bug Description
~8-10 second delay for Notification Hook
Steps to Reproduce
Expected Behavior
The notification hook to query and execute immediately
Actual Behavior
[DEBUG] Matched 0 unique hooks for query "LS" (0 before deduplication)
[DEBUG] Found 0 hook commands to execute
10 Second Delay
[DEBUG] Getting matching hook commands for Notification with query: undefined
[DEBUG] Found 1 hook matchers in settings
[DEBUG] Matched 1 unique hooks for query "no match query" (1 before deduplication)
[DEBUG] Notification [echo "$(date): Notification hook triggered, playing sound" >> ~/.claude/hook.log && paplay ~/.claude/sounds/correct-answer.wav &] completed with status 0
Additional Context