mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(builder): ensure entry is in graph for HMR (#7097)
This commit is contained in:
parent
1f3c3ad9f3
commit
4b34941df8
@ -723,6 +723,9 @@ export default class Builder {
|
||||
Array.from(deps),
|
||||
['all'],
|
||||
debounce((event, fileName) => {
|
||||
if (!dep2Entry[fileName]) {
|
||||
return // #7097
|
||||
}
|
||||
for (const entry of dep2Entry[fileName]) {
|
||||
// Reload entry
|
||||
let newItem
|
||||
|
Loading…
Reference in New Issue
Block a user