Skip to content

Fix client error modal not showing in dev (HMR) #1448

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

Merged
merged 2 commits into from
Mar 18, 2017

Conversation

arunoda
Copy link
Contributor

@arunoda arunoda commented Mar 17, 2017

We normal show a error modal when there's an error on the code. (Detected via webpack HMR)
But this didn't work with beta.37

So, this PR fixes that.

In order to prevent future issues like this, now we've a test case too.

arunoda added 2 commits March 17, 2017 12:51
Our hot-reload code on the server has custom webpack error dectection logic.
Is supports only multi-modules entries.
So, we need to all entries as multi-module entries
even if there's just a single entry.
@rauchg rauchg merged commit ffade8d into vercel:master Mar 18, 2017
@rauchg
Copy link
Member

rauchg commented Mar 18, 2017

Thanks @arunoda

@arunoda arunoda deleted the fix-hmr-error-not-display-issue branch March 19, 2017 02:39
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy