rib-0.8.0.0: Static site generator using Shake
Rib.Watch
Description
Filesystem watching using fsnotify
onTreeChange :: Path b t -> ([Event] -> IO ()) -> IO () Source #
Recursively monitor the contents of the given path and invoke the given IO action for every event triggered.
If multiple events fire rapidly, the IO action is invoked only once, taking those multiple events as its argument.