klyn.io.FileWatcher.FileWatcher
constructor
public FileWatcher(path as Path, pollIntervalMs as Int = 50):
Description

Creates a watcher for a Path instance.

Parameters
ParameterDescription
pathFile path to watch.
pollIntervalMsPolling interval in milliseconds.
Example
watcher = FileWatcher(Path.tempDir.resolve("app.log"), 500)