Skip to content

Conversation

@tekacs
Copy link
Contributor

@tekacs tekacs commented Oct 14, 2025

Scenario: without this patch, if you fail a build, fix the code, let the thin build succeed, and then refresh the browser... then after reloading the browser page, it gets stuck on the "One sec" loader because the devserver status never clears the earlier BuildError. Prior to this patch, only a full rebuild fixes it.

  • mark build status ready after sending hot patch messages so refreshes succeed
  • reuse the same helper from reload command to avoid stale loading screens
  • add set_ready() helper to avoid duplicate status broadcasts

This PR is tested, working correctly in other exercises including error, and found to fix the issue.

@tekacs tekacs requested a review from a team as a code owner October 14, 2025 03:12
Scenario: without this patch, if you fail a build, fix the code, let the thin build succeed, and then refresh the browser... then after reloading the browser page, it gets stuck on the "One sec" loader because the devserver status never clears the earlier BuildError.

- mark build status ready after sending hot patch messages so refreshes succeed
- reuse the same helper from reload command to avoid stale loading screens
- add set_ready() helper to avoid duplicate status broadcasts
@ealmloff ealmloff added cli Related to the dioxus-cli program autoformatting Related to the autofmt crate bug Something isn't working and removed autoformatting Related to the autofmt crate labels Oct 14, 2025
@jkelleyrtp jkelleyrtp merged commit a3e40a5 into DioxusLabs:main Oct 14, 2025
19 checks passed
@jkelleyrtp
Copy link
Member

Thank you for helping with the bugs!!

@tekacs
Copy link
Contributor Author

tekacs commented Oct 15, 2025

@jkelleyrtp Thank you for subsecond! I've been waiting so long to switch out frontend to Rust, had no idea when someone would finally get to building something like subsecond and it's a joy, even if there's teething to work through. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cli Related to the dioxus-cli program

3 participants