I'm attempting to setup my build process in a docker container running on CoreOS over xhyve on OS X using corectl, which automatically mounts /Users/[username]
via NFS. I've discovered build tools such as fsmonitor and browser-sync rely on fs.watch
which uses inotify on linux to watch for changes. inotify doesn't work over NFS [1] [2]. Others have addressed this issue and have decided to use rsync to send updated files into the container, which relies on a tool outside of the build container. I'd like to distribute a self-contained docker image that just works.
Is there an alternative to inotify that works over NFS?