Skip to content
Permalink
Browse files
fix(vite): improve hash calc
  • Loading branch information
antfu committed Sep 26, 2022
1 parent d835621 commit a65adaa50de04a63733274081e9dae2d5e8ce966
Showing 1 changed file with 1 addition and 1 deletion.
@@ -37,9 +37,9 @@ export function GlobalModeDevPlugin({ uno, tokens, affectedModules, onInvalidate
server!.moduleGraph.invalidateModule(mod)
}
}
lastServedHash.clear()
clearTimeout(invalidateTimer)
invalidateTimer = setTimeout(() => {
lastServedHash.clear()
sendUpdate(ids)
}, timer)
}

0 comments on commit a65adaa

Please sign in to comment.