You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(* Block until there is something to read. Otherwise, our ioctl returns 0 and then makes a 0 read which errors with EINVAL. *)
ignore (Unix.select [inotify] [][]~-.1.);
before calling Inotify.read
The text was updated successfully, but these errors were encountered:
See https://github.com/dsheets/ocaml-inotify-event/blob/master/src/inotify_events.ml#L38
The fix is too run:
before calling
Inotify.read
The text was updated successfully, but these errors were encountered: