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

Get live reloading working with the error screen #2164

Merged

Conversation

BenSurgisonGDS
Copy link
Contributor

@BenSurgisonGDS BenSurgisonGDS commented May 11, 2023

See Get live reloading working within the error screen

  • Implement browser reload whenever the server or error server reload to refresh the page
  • Updated Acceptance tests to allow for live reloading between error screen and actual page
  • Split error page acceptance testing into seperate actions so they can be detected quickly in the CI

@BenSurgisonGDS BenSurgisonGDS linked an issue May 11, 2023 that may be closed by this pull request
2 tasks
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2091-get-live-reloading-working-within-the-error-screen branch 3 times, most recently from 60a5272 to 4427ded Compare May 12, 2023 15:43
@BenSurgisonGDS BenSurgisonGDS marked this pull request as ready for review May 15, 2023 08:40
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2091-get-live-reloading-working-within-the-error-screen branch from 5f1a6fa to 7f166b6 Compare May 15, 2023 08:49
@BenSurgisonGDS BenSurgisonGDS self-assigned this May 15, 2023
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2091-get-live-reloading-working-within-the-error-screen branch from 9561494 to 788586a Compare May 15, 2023 12:12
@BenSurgisonGDS BenSurgisonGDS force-pushed the 2091-get-live-reloading-working-within-the-error-screen branch from 13c333e to b199641 Compare May 15, 2023 13:36
@@ -5,3 +5,15 @@
<script src="{{scriptConfig.src}}"></script>
{% endif %}
{% endfor %}

<script>
document.addEventListener('DOMContentLoaded', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we put this in its own js file please?

@BenSurgisonGDS BenSurgisonGDS merged commit cbd6bf8 into main May 15, 2023
@BenSurgisonGDS BenSurgisonGDS deleted the 2091-get-live-reloading-working-within-the-error-screen branch May 15, 2023 16:51
@joelanman
Copy link
Contributor

does this need a changelog?

@nataliecarey
Copy link
Contributor

It has a changelog entry, that seems appropriate to me.

@joelanman
Copy link
Contributor

oh sorry my mistake, missed it!

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 this pull request may close these issues.

Get live reloading working within the error screen
3 participants