File system watcher
A data source that outputs the path to a file or directory each time a change is detected.
- The path to a file or directory to watch. The file or directory at path must exists. If it doesn't, nothing will be emitted. If the file or directory is removed during execution, the file system watcher will stop sending signals.
- The number of milliseconds to wait before a change is reported. The output will only be sent when a file has not been changed for delay milliseconds. This is useful to avoid processing incomplete files. If delay is zero, every detected change will cause an output.
- Mode of operation.
- The name of a changed file. If the path input parameter points to a file, this value will always be the same. If a directory is being watched, either the path of the directory or the paths of all added files are sent, depending on
- The date and local time when the file or directory was last modified.