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.
handleHotUpdate
1 parent 6700594 commit e16bf1fCopy full SHA for e16bf1f
1 file changed
packages/vite/src/node/packages.ts
@@ -260,11 +260,6 @@ export function watchPackageDataPlugin(packageCache: PackageCache): Plugin {
260
invalidatePackageData(packageCache, path.normalize(id))
261
}
262
},
263
- handleHotUpdate({ file }) {
264
- if (file.endsWith('/package.json')) {
265
- invalidatePackageData(packageCache, path.normalize(file))
266
- }
267
- },
268
269
270
0 commit comments