On 24/09/14 22:09, Etienne wrote:

I've thought about it but it isn't compatible with other BSD platforms
and has no docs about using it with kqueue, it ended up looking more
complicated and unstable because I could read complaints everywhere I
looked. It ended up putting me in a direction where I needed separate
threads with their own event loops and communication through signals,
which didn't fit in with what I was used to doing from what the other
platforms offered.

The only complains I've seen with FSEvents is that it doesn't support notifying about file changes, only directory changes. But that has been fixed in OS X 10.7 so that complain is moot.

I found the solution with kqueue's vnode, which acts like inotify. It
doesn't have recursion nor file modification events when watching
folders so individual files had to be watched and the directories
checked against cache data every time an event came in.

That sounds like a quite big limitation.

--
/Jacob Carlborg

Reply via email to