Interface: WatcherFileWatcherOptions
Defined in: options/input-options.ts:57
Properties
compareContentsForPolling?
- Type:
boolean - Optional
Defined in: options/input-options.ts:83
Whether to compare file contents for poll-based watchers. When enabled, poll watchers will check file contents to determine if they actually changed.
This option is only used when usePolling is true.
Default
ts
falsepollInterval?
- Type:
number - Optional
Defined in: options/input-options.ts:74
Interval between each poll in milliseconds.
This option is only used when usePolling is true.
Default
ts
100usePolling?
- Type:
boolean - Optional
Defined in: options/input-options.ts:66
Whether to use polling-based file watching instead of native OS events.
Polling is useful for environments where native FS events are unreliable, such as network mounts, Docker volumes, or WSL2.
Default
ts
false