2 ms·
Great use-case for lnotify, haven't thought about that. Feels much cleaner than having cron jobs for conversions like these.
by tosh 14y ago
Great use-case for lnotify, haven't thought about that. Feels much cleaner than having cron jobs for conversions like these.
- oker1 14y agoWith the listen gem you can write crossplatform scripts (http://rubygems.org/gems/listen http://rubygems.org/gems/listen).
- nicholassmith 14y agoHadn't come across listen, that's perfect for what I need. I've used notify on Linux but I wanted something a bit more portable for OS X.
- prakashk 14y agoFor those of Perl persuasion, there are: * File::ChangeNotify (https://www.metacpan.org/module/File::ChangeNotify) * Filesys::Notify::Simple (https://www.metacpan.org/module/Filesys::Notify::Simple)