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
541 stars 82 forks source link

Build at least once. #32

Closed cognifloyd closed 8 years ago

cognifloyd commented 9 years ago

As mentioned in #31, here , sphinx-autobuild needs to make sure that something is built before starting the livereload server.

Perhaps sphinx-autobuild could check the build directory to see if it doesn't exist or is empty, and then run sphinx-build on the whole project on startup. Or there could be a switch to always build everything once on startup or something.