Skip to content

Commit aee5849

Browse files
committed
Fix refresh not occuring with warnings
1 parent c7f0032 commit aee5849

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-dev-utils/webpackFastRefreshDevClient.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ connection.onmessage = function(e) {
7272
break;
7373
case 'still-ok':
7474
case 'ok':
75+
case 'warnings': // Warnings are not fatal. We should try refreshing.
7576
handleSuccess();
7677
break;
7778
case 'content-changed':

0 commit comments

Comments
 (0)