Skip to content

Commit

Permalink
Fix default value of FAST_REFRESH
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Kang committed Apr 6, 2021
1 parent 2d1829e commit 6fc0608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function getClientEnvironment(publicUrl) {
// react-refresh is not 100% stable at this time,
// which is why it's disabled by default.
// It is defined here so it is available in the webpackHotDevClient.
FAST_REFRESH: process.env.FAST_REFRESH !== 'false',
FAST_REFRESH: process.env.FAST_REFRESH === 'true',
}
);
// Stringify all values so we can feed into webpack DefinePlugin
Expand Down

0 comments on commit 6fc0608

Please sign in to comment.