The current officially-sanctioned Node.js method of performing ESM hot module reloading is to (I kid you not) “leak memory.”
Je désespère!
github.com/nodejs/modules/issu…
Invalidate cache when using import · Issue #307 · nodejs/modules
How do I invalidate the cache of import? I have a function that installs missing modules when an import fails, but the import statement seems to preserve the failure while the script is still runni...GitHub