MCPcopy
hub / github.com/vitejs/vite / child.js

File child.js

playground/hmr-ssr/invalidation/child.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1if (import.meta.hot) {
2 // Need to accept, to register a callback for HMR
3 import.meta.hot.accept(() => {
4 // Trigger HMR in importers

Callers

nothing calls this directly

Calls 2

acceptMethod · 0.65
invalidateMethod · 0.65

Tested by

no test coverage detected