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

CLI Fails to Serve Web After First Client Load #2123

Closed
DogeDark opened this issue Mar 21, 2024 · 0 comments · Fixed by #2127
Closed

CLI Fails to Serve Web After First Client Load #2123

DogeDark opened this issue Mar 21, 2024 · 0 comments · Fixed by #2127

Comments

@DogeDark
Copy link
Member

DogeDark commented Mar 21, 2024

Problem

dx serve fails to serve the website content (index.html and other assets) on the Web platform after first load. The CLI takes the connection but fails to respond with any data to the client.

Steps To Reproduce

  • Run dx new for the Web template, vanilla CSS, no router.
  • Run dx serve
  • Wait for page to open. Click reload button in browser.

Expected behavior

The page to load like it does on first load.

Environment:

  • Dioxus version: main
  • CLI Version: main
  • Rust version: 1.76
  • OS info: Windows
  • App platform: Web
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

Successfully merging a pull request may close this issue.

1 participant