Currently a re-build is triggered the moment that a file in a watched folder is updated. However, sometimes you want to make a few updates in quick succession. Currently, this will cause the re-build to trigger immediately after the first re-build completes. It would be nice if a user could configure a window where changes would be batched together in a single reload event.
Looking at the livereload-python docs, something like this seems to be possible with a delay parameter.
This package is just directly using the Server class so maybe we could make that configurable:
https://github.com/executablebooks/sphinx-autobuild/blob/ea4d04f4f68f564e65ac21843d4839ce24a6e0ae/src/sphinx_autobuild/cli.py#L175
Currently a re-build is triggered the moment that a file in a
watchedfolder is updated. However, sometimes you want to make a few updates in quick succession. Currently, this will cause the re-build to trigger immediately after the first re-build completes. It would be nice if a user could configure a window where changes would be batched together in a single reload event.Looking at the livereload-python docs, something like this seems to be possible with a
delayparameter.This package is just directly using the
Serverclass so maybe we could make that configurable:https://github.com/executablebooks/sphinx-autobuild/blob/ea4d04f4f68f564e65ac21843d4839ce24a6e0ae/src/sphinx_autobuild/cli.py#L175