inotify-ffi Blatant, unashamed rip-off of samples/inotify.rb Now a gem. Install gem install inotify-ffi Thanks halorgium for async_each_event