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

Add experimental react-refresh support #8582

Merged
merged 11 commits into from
Apr 6, 2020
Prev Previous commit
Next Next commit
Fix refresh not occuring with warnings
  • Loading branch information
charrondev committed Mar 31, 2020
commit aee58491b2f538df556d46cc6a93310e91301e09
1 change: 1 addition & 0 deletions packages/react-dev-utils/webpackFastRefreshDevClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ connection.onmessage = function(e) {
break;
case 'still-ok':
case 'ok':
case 'warnings': // Warnings are not fatal. We should try refreshing.
handleSuccess();
break;
case 'content-changed':
Expand Down