Watch a directory for new files
tmux_watch_dir_taskPoll a directory locally or over SSH and complete as soon as new files appear, or stop after a configurable iteration limit.
Instructions
Poll a directory (local or via SSH) and complete when new files appear or after max iterations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). | |
| path | No | Directory to watch. | . |
| intervalMs | No | Polling interval ms. | |
| iterations | No | Max polling iterations. |