Hi, On 06/02/2015 02:21 AM, [email protected] wrote: > As far as I can tell, libuv on OS X uses FSEvents to watch directories > but kqueue to watch files, resulting in one open fd per watched file. > Combined with OS X's insanely small default fd table, this makes it > tough to build a dropbox style sync utility on top of libuv. >
FAIS we still open an fd when FSEvents is used, which should be solvable. > The FSEvents doc says that since 10.7, FSEvents can watch files as well > as directories. But the libuv code still seems to test for S_IFDIR and > otherwise goto fallback (kqueue). > > I'm wondering whether a pure FSEvents file watcher isn't in libuv > because it wouldn't work for some reason, or because it's just a low > priority. If the latter, I'd be happy to try and come up with a patch. > Fedor can probably give you a better answer, but probably it has to do with the fact that OSX < 10.7 is still supported (ish). Personally, I'm open to the debate of dumping support for OSX < 10.8, but we should probably preserve it in v1.x, dumping it in master should be fine though. You're more than welcome to write a patch for it and improve it, of course! Cheers, -- Saúl Ibarra Corretgé bettercallsaghul.com -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
