G
Gavin Kistner
http://phrogz.net/RubyLibs/rdoc/classes/Dir/DirectoryWatcher.html
A DirectoryWatcher keeps an eye on a certain directory, firing off your
own custom procs when a file is added to, modified in, or removed from
that directory.
See the link above for documentation. Download available from
http://phrogz.net/RubyLibs/DirectoryWatcher.rb
Feedback requested; am I doing something in this brief bit of code in
an un-ruby-like way? In a terribly inefficient way? Is there a better
way to 'pause' and 'restart' the thread tracked as @Thread?
Help me help you!
A DirectoryWatcher keeps an eye on a certain directory, firing off your
own custom procs when a file is added to, modified in, or removed from
that directory.
See the link above for documentation. Download available from
http://phrogz.net/RubyLibs/DirectoryWatcher.rb
Feedback requested; am I doing something in this brief bit of code in
an un-ruby-like way? In a terribly inefficient way? Is there a better
way to 'pause' and 'restart' the thread tracked as @Thread?
Help me help you!