/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/client/dev
NameSizeModeActions
error-overlay/-0777rm
hot-reloader/-0777rm
amp-dev.js32940666editdlrm
amp-dev.js.map62860666editdlrm
fouc.js12280666editdlrm
fouc.js.map20760666editdlrm
hot-middleware-client.js36440666editdlrm
hot-middleware-client.js.map48250666editdlrm
noop-turbopack-hmr.js2220666editdlrm
noop-turbopack-hmr.js.map3700666editdlrm
on-demand-entries-client.js14150666editdlrm
on-demand-entries-client.js.map21300666editdlrm
report-hmr-latency.js14560666editdlrm
report-hmr-latency.js.map25210666editdlrm
runtime-error-handler.js1170666editdlrm
runtime-error-handler.js.map2940666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/esm/client/dev/report-hmr-latency.js (1456B)
/** * Logs information about a completed HMR to the console, the server (via a * `client-hmr-latency` event), and to `self.__NEXT_HMR_LATENCY_CB` (a debugging * hook). * * @param hasUpdate Set this to `false` to avoid reporting the HMR event via a * `client-hmr-latency` event or to `self.__NEXT_HMR_LATENCY_CB`. Used by * turbopack when we must report a message to the browser console (because we * already logged a "rebuilding" message), but it's not a real HMR, so we * don't want to impact our telemetry. */ export default function reportHmrLatency(sendMessage, updatedModules, startMsSinceEpoch, endMsSinceEpoch, hasUpdate) { if (hasUpdate === void 0) hasUpdate = true; const latencyMs = endMsSinceEpoch - startMsSinceEpoch; console.log("[Fast Refresh] done in " + latencyMs + "ms"); if (!hasUpdate) { return; } sendMessage(JSON.stringify({ event: 'client-hmr-latency', id: window.__nextDevClientId, startTime: startMsSinceEpoch, endTime: endMsSinceEpoch, page: window.location.pathname, updatedModules, // Whether the page (tab) was hidden at the time the event occurred. // This can impact the accuracy of the event's timing. isPageHidden: document.visibilityState === 'hidden' })); if (self.__NEXT_HMR_LATENCY_CB) { self.__NEXT_HMR_LATENCY_CB(latencyMs); } } //# sourceMappingURL=report-hmr-latency.js.map