Skip to content
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