We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0233a2 commit f6133a2Copy full SHA for f6133a2
packages/app/src/sandbox/eval/transpiled-module.ts
@@ -791,7 +791,7 @@ export default class TranspiledModule {
791
if (manager.webpackHMR) {
792
if (!this.compilation) {
793
const shouldReloadPage = this.hmrConfig
794
- ? this.hmrConfig.isDeclined(this.isEntry)
+ ? this.hmrConfig.isDeclined(this.isEntry) && !manager.isFirstLoad
795
: this.isEntry && !this.isTestFile;
796
797
if (shouldReloadPage) {
0 commit comments