module

Watcher

Class methods

timestamp_for(file : String)

Get file timestamp using File.stat

Source
watch(files, interval : Int32 | Float64, &)

Allow to watch file changes using Watcher.watch

Source
watch(files, &)
Source