Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server perpetually restarts after rebuilding documentation #120

Open
JulianOrteil opened this issue Aug 22, 2022 · 2 comments
Open

Server perpetually restarts after rebuilding documentation #120

JulianOrteil opened this issue Aug 22, 2022 · 2 comments
Labels

Comments

@JulianOrteil
Copy link

Describe the bug

context/problem
Launching sphinx-autobuild from tox (in conjunction with tox-conda) results in the server continuously relaunching. Specifying
--no-initial results in the server launching as expected until it detects a change and rebuilds the documentation, then this issue persists again. Also, CTRL+C is not responsive, I have to kill the terminal to quit this issue.

expectation
This not to occur.

image

Reproduce the bug

  1. Setup and create an Anaconda environment, or at least have the program installed and on PATH
  2. Install tox and tox-conda: pip install tox tox-conda
  3. Create a tox.ini file with something similar to the following:
[testenv:autodocs]
description =
    Invoke sphinx-autobuild to hot reload docs changes
deps =
    sphinx>=3.2.1
    furo
    sphinx-copybutton
    sphinx-autobuild
commands =
    # Add --no-initial to see that described behavior
    sphinx-autobuild docs docs/_build/html
  1. Launch with tox -e autodocs

List your environment

Python: 3.9.12
Windows 10
Anaconda env, likely not necessary
Other tools, see above

@welcome
Copy link

welcome bot commented Aug 22, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

@theletterf
Copy link

Having the same issue, but within a Docker container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants