mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
fix: invalidate ssrError when HMR update occurs (#8052)
This commit is contained in:
parent
443acf9851
commit
22fa882378
@ -294,6 +294,7 @@ function invalidate(mod: ModuleNode, timestamp: number, seen: Set<ModuleNode>) {
|
||||
mod.lastHMRTimestamp = timestamp
|
||||
mod.transformResult = null
|
||||
mod.ssrModule = null
|
||||
mod.ssrError = null
|
||||
mod.ssrTransformResult = null
|
||||
mod.importers.forEach((importer) => {
|
||||
if (!importer.acceptedHmrDeps.has(mod)) {
|
||||
|
Loading…
Reference in New Issue
Block a user