I have the watching plugin configured, and if I edit files on my VM, it works great. However, I have an NFS share, and I edit my files on the host. The filewatcher on the VM does not pick up changes on the NFS share.
For other reasons, I do need this to be an NFS share. Is there any way that I can make this work?
The node docs state "You can still use fs.watchFile, which uses stat polling, but it is slower and less reliable."
I fixed this problem with Ubuntu 14.04 running on Oracle VM VirtualBox on Windows 8.1 using:
I think there's a decent chance this will also fix the issue with other configurations.
Just add this options into your webpack config.
You have do this because of Vagrant/Virtual box filesystem mounting specifics.