guard/listen — Issue #10: Add multiple directories support
Author: thibaudgg
Created: 2012-02-23 20:04:34+00:00
State: open

Multiple watched paths with `rb-inotify` and `polling` (obviously) is possible, but with `rb-fsevent` and `rb-fchange` it is not. We could use [some hack like fssm](https://github.com/ttilley/fssm/blob/master/lib/fssm/backends/rbfsevent.rb#L36-39) to catch the top shared parents between these watched path (which can result to watch the whole disk).

Example:

``` ruby
Listen.to(dir1, dir2) do |modified, added, removed|
# ...
end
```