klyn.io.FileWatcher.poll
method
public poll() as Boolean:
Description

Polls once and emits events if the file state changed.

Returns

true when an event was emitted.

Example
if watcher.poll():
print("file changed")