guard/rb-inotify

Recursive flag does not watch files in subdirectories

sspreitzer opened this issue · 4 comments

Hi all

As far as i understand from the code, the :recursive flag does not watch files in subdirectories, but only directories.

Is this a bug or intended?

What do you think makes the most sense?

any updates for this issue?

I guess we don’t know what the desired behaviour is yet, but watching all subdirectories might make sense or might be performance issue.

alxx commented

Since the notifier can only watch one file at a time, which for me is a serious limitation, I also think that at least the :recursive flag might be used as a (bad) workaround for that.