[ANN] directory_watcher (version 1.2.0)

T

Tim Pease

directory_watcher version 1.2.0
by Tim Pease
http://codeforpeople.rubyforge.org/directory_watcher

== DESCRIPTION

The directory watcher operates by scanning a directory at some
interval and
generating a list of files based on a user supplied glob pattern. As
the file
list changes from one interval to the next, events are generated and
dispatched to registered observers. Four types of events are supported
--
added, modified, stable, and removed.

== CHANGES

* 2 minor enhancements
- added an option to persist state to a file [Benjamin Thomas]
- the option to run the directory watcher scanner manually
(i.e. one loop at a time)
 
D

Denis Defreyne

12 apr 2009 kl. 19.44 skrev Tim Pease:
The directory watcher operates by scanning a directory at some
interval and
generating a list of files based on a user supplied glob pattern.

Hi,

directory_watcher sounds like the ideal candidate to make use of
filesystem event notifications such as those provided by inotify or
fsevents. Are there any plans for this in a future version of
directory_watcher?

Regards,

Denis
 
T

Tony Arcieri

[Note: parts of this message were removed to make it a legal post.]

On Sun, Apr 12, 2009 at 1:23 PM, Denis Defreyne <
directory_watcher sounds like the ideal candidate to make use of filesystem
event notifications such as those provided by inotify or fsevents. Are there
any plans for this in a future version of directory_watcher?

Note that such a thing would be fairly trivial to add to Rev, as libev
already supports a cross-platform API for directory monitoring which uses
inotify on Linux:

http://rev.rubyforge.org/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top