问题
I'm trying to set up Homestead with VirtualBox and the HHVM option. My host is Mac OS, and I'm not enabling the nfs option in Homestead.yaml. However, as soon as I add a Hack file and run hh_client, hh_server dies because it refuses to run on NFS
I understand the rational of not supporting NFS but I'm wondering why is NFS actually involved here, and what could be done to workaround this?
回答1:
VirtualBox shared folders are effectively a network folder, causing the same problems as NFS. This answer, and my comments on it, explain why hh_server
(and thus Hack code) doesn't work on NFS -- the kernel doesn't provide the right inotify events to update its internal state.
来源:https://stackoverflow.com/questions/37310109/hhvm-with-homestead-hhvm-refusing-nfs