marko/packages/marko/browser-refresh.js
2024-06-13 08:35:39 -07:00

6 lines
296 B
JavaScript

// This is a noop in Marko 5 and should eventually be removed.
// In Marko 5 `browser-refresh` is automatically enabled if you use the require hook, and
// browser refresh is running. We still expose this API to simplify the upgrade process from
// Marko 4 to Marko 5.
exports.enable = () => {};