Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Sep 15, 2023
1 parent 6c83c16 commit b97ca51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ export default defineNuxtModule<ModuleOptions>({
ctx.server.moduleGraph.invalidateModule(mod, undefined, timestamp)
}

// Wait 100ms to make sure HMR is ready
// Wait 100ms to make sure HMR is ready (content needs to be parsed first)
// Without this, HMR will not work and user needs to save the file twice
setTimeout(() => {
ctx.server.ws.send({
Expand Down

0 comments on commit b97ca51

Please sign in to comment.