4 ms·
Yeah, I'm looking into inotify to see how I can implement that with Ruby. Would definitely be nicer than simply polling the directory.
by meltingice 16y ago
Yeah, I'm looking into inotify to see how I can implement that with Ruby. Would definitely be nicer than simply polling the directory.
- nixme 16y agoTry rb-inotify (linux) and rb-fsevent (os x): https://github.com/nex3/rb-inotify https://github.com/nex3/rb-inotify https://github.com/thibaudgg/rb-fsevent https://github.com/thibaudgg/rb-fsevent