We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
timestamp: 0
1 parent 8c625d2 commit e88c04cCopy full SHA for e88c04c
packages/vite-node/src/server.ts
@@ -130,7 +130,7 @@ export class ViteNodeServer {
130
const module = this.server.moduleGraph.getModuleById(id)
131
const timestamp = module ? module.lastHMRTimestamp : null
132
const cache = this.fetchCache.get(filePath)
133
- if (timestamp !== null && cache && cache.timestamp >= timestamp)
+ if (timestamp && cache && cache.timestamp >= timestamp)
134
return cache.result
135
136
const time = Date.now()
0 commit comments