Lwt_inotifyAn Lwt wrapper for Inotify module.
Note, whenever it is possible we provide two version of an operation:
f' - a pure non-blocking operation;f - the same operation lifted into the Lwt monad.val create' : unit -> tval add_watch : t -> string -> Inotify.selector list -> Inotify.watch Lwt.tadd_watch desc path events sets up desc to watch for events occuring to path, and returns a watch descriptor.
val add_watch' : t -> string -> Inotify.selector list -> Inotify.watchval rm_watch : t -> Inotify.watch -> unit Lwt.trm_watch desc watch stops desc from watching watch.
val rm_watch' : t -> Inotify.watch -> unitval read : t -> Inotify.event Lwt.tread desc waits for an event to occur at desc.
val try_read : t -> Inotify.event option Lwt.ttry_read desc returns Some event if desc has queued events, or None otherwise.