Skip to content

Conversation

@wardpeet
Copy link
Contributor

Description

Fix fast-refresh for gatsby-plugin-preact.

The runtime module isn't being loaded when using preact so gatsbyEvents is not set. This also disables our error modals 😬 that's another bug to fix but at least this fixes updates

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 28, 2021
@wardpeet wardpeet added topic: preact* and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 28, 2021
@wardpeet wardpeet force-pushed the fix/preact-fast-refresh branch from 8b26569 to 7f53f23 Compare February 28, 2021 13:00
@vladar vladar merged commit 81a3776 into master Mar 1, 2021
@vladar vladar deleted the fix/preact-fast-refresh branch March 1, 2021 10:38
vladar pushed a commit that referenced this pull request Mar 1, 2021
vladar pushed a commit that referenced this pull request Mar 1, 2021
(cherry picked from commit 81a3776)

Co-authored-by: Ward Peeters <[email protected]>
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.

3 participants