Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

polling mode doesn't work on OSX #30

Open
jaredly opened this issue Sep 20, 2016 · 5 comments
Open

polling mode doesn't work on OSX #30

jaredly opened this issue Sep 20, 2016 · 5 comments

Comments

@jaredly
Copy link

jaredly commented Sep 20, 2016

because it uses inotify, I guess? :/

@ghost
Copy link

ghost commented Sep 20, 2016

That's right. It shouldn't be too hard to add another file watcher backend, it's already abstracted in lib/fs.ml. A patch would be welcome :)

@samoht
Copy link

samoht commented Sep 20, 2016

See https://github.com/samoht/irmin-watcher as an example of portable filesystem watcher.

@jordwalke
Copy link

Thanks @samoht. If it's truly universal, should Jenga just adopt it?

@samoht
Copy link

samoht commented Sep 27, 2016

it is not universal, it is targeted to fit the Irmin watcher API. Could be possible to extract something more universal from it, I know @dsheets was interested about it.

@dsheets
Copy link

dsheets commented Sep 27, 2016

We should start a package fsnotify which only depends on inotify or fsevents depending on the platform it's on and offers a lowest common denominator interface (to start).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants