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 not yet serving when browser is opened for the first time #179

Open
cmarqu opened this issue Sep 8, 2024 · 2 comments
Open

Server not yet serving when browser is opened for the first time #179

cmarqu opened this issue Sep 8, 2024 · 2 comments

Comments

@cmarqu
Copy link

cmarqu commented Sep 8, 2024

When I start sphinx-autobuild with the --open-browser option, it opens the browser after the Sphinx build is done, but the server hasn't started yet, so the browser shows a 404. I can then immediately reload the page which now successfully renders.

Things work as expected when I remove the t.join() line here:

@AA-Turner
Copy link
Member

The browser should open after a 5 second delay (adjusted via --delay XXX). Does this delay not occur?

A

@cmarqu
Copy link
Author

cmarqu commented Sep 18, 2024

The browser is opening only after the delay, but the server is not starting during that time in the background, but only after the waiting time (I also set it to much longer, the behavior doesn't change).

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

No branches or pull requests

2 participants