Bug #10
dirmon.rb doesn't work any more
| Status: | Assigned | Start: | 01/13/2007 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Paul Duncan | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.2.0 |
Description
Email from Chris Gahan on 2007-01-13:
Secondly, I'd like to just point out that the "dirmon.rb" example script that comes with the gem doesn't behave properly anymore -- it doesn't seem to know about the new #no_exists behaviour. At startup, the script gets a bunch of EXISTS events which it adds to its internal list of all the files in the directory. Unfortunately, it had already populated this by listing the directory, so you end up with duplicates. It does this when you're using the fam and the gamin backends, and since fam doesn't have #no_exists (I believe), this might be a problem.