eventName
FileChanged (Claude Code)
displayName
FileChanged (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
false
family
observer
payloadSchema
type
object
required
- hook_event_name
- file_path
- change_type
properties
hook_event_name
type
string
const
FileChanged
file_path
change_type
description
Fires when a watched file changes on disk. Has access to
CLAUDE_ENV_FILE for reactive environment management (direnv, nvm,
etc.). Matcher accepts literal filenames (e.g. ".envrc|.env"); regex
is NOT supported for this event.