-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
client javascript doesn't reload the page if there's a build-time error on first load #1316
Comments
I believe the reason this is happening is because of the |
Hey I'm working on this right now and looking through your issue and PR, and I just want to say: THANK YOU for looking into this so extensively and making an example repo. I'm going through it to first reproduce your bug and then test your fix. |
You're very welcome. I'd really love to add some unit tests to my PR, but the client code doesn't seem to have any tests that I could find. I'd love any help or guidance you could give me as to the best way to unit test that code. |
Yeah there are no unit tests for the client code (yet). If you want to help setup tests for the client code that would be welcome though, I see two ways to tackle this:
|
Code
I've made a repository that minimally recreates this issue. JayAndCatchFire/minimal-wds-bug-example
Expected Behavior
Scenario 1
Scenario 2
Actual Behavior
In both of the above scenarios, the fourth step doesn't occur. The page remains in a broken state.
For Bugs; How can we reproduce the behavior?
The steps outlined in the scenarios above should outline how to reproduce the bug reliably, although I give more detailed instructions in the README file in my example repository.
The text was updated successfully, but these errors were encountered: