Type: nodetool.triggers.FileWatchTrigger

Namespace: nodetool.triggers

Properties

Property Type Description Default
max_events int Maximum number of events to process (0 = unlimited) 0
path str Path to watch (file or directory) .
recursive bool Watch subdirectories recursively false
patterns list[str] File patterns to watch (e.g., [‘.txt’, ‘.json’]) ["*"]
ignore_patterns list[str] File patterns to ignore []
events list[str] Types of events to watch for ["created","modified","deleted","moved"]
debounce_seconds float Debounce time to avoid duplicate events 0.5

Outputs

Output Type Description
event str  
path str  
dest_path str  
is_directory bool  
timestamp str  

Browse other nodes in the nodetool.triggers namespace.