UNPKG

node-esm-hmr

Version:

HMR for Node that actually works with Node's ESM (type:module in package.json or .mjs files)

2 lines (1 loc) 159 B
export default function hmr(modulePath: string, watch : string | string[], callback: (module: ModuleNamespaceObject) => void, clearEveryTime: boolean): void;