sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
524 stars 75 forks source link

sphinx-autobuild could not detect the changes if setting up the DevEnv with Virtualbox and modifying the files on the host #38

Closed ghost closed 8 years ago

ghost commented 8 years ago

An interesting scenario:

My develop environment is

If I vagrant ssh to my VM (Ubuntu 14.04), and updated *.rst files on the VM, sphinx-autobuild could work pretty fine, it could automatically detect any changes.

If I updated the *.rst files on my OS X (the folder has been mounted to my VM using Vagrantfile), sphinx-autobuild could NOT detect any changes.

Of course, I don't think it is caused by sphinx-autobuild, I guest it is caused by the mounted issue between OS X and Virtualbox using Vagrant.

I am just wondering how sphinx-autobuild detects any changes in the codes.