Version with lwt + inotify + polling.