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 be2ae2a commit 18b9b55Copy full SHA for 18b9b55
packages/vite/src/node/server/environments/fullBundleEnvironment.ts
@@ -106,6 +106,7 @@ export class FullBundleDevEnvironment extends DevEnvironment {
106
patched: this.state.patched,
107
}
108
109
+ const startTime = Date.now()
110
let hmrOutput: HmrOutput[]
111
try {
112
// NOTE: only single outputOptions is supported here
@@ -127,6 +128,10 @@ export class FullBundleDevEnvironment extends DevEnvironment {
127
128
debug?.(`ignored file change for ${file}`)
129
return
130
131
+ const generateTime = Date.now()
132
+ debug?.(
133
+ `GENERATING-HMR-PATCH: patch generated in ${generateTime - startTime}ms`,
134
+ )
135
136
for (const output of hmrOutput) {
137
this.handleHmrOutput(file, output, this.state)
0 commit comments