by LAC-Tech · 4y ago · 0 comments
So not node.js, or deno.
You can also install npm deps and switch npm lib version without restart your repl
https://shadow-cljs.github.io/docs/UsersGuide.html#node-repl
With node you can definitely reload a module without restarting the REPL, you just have to make sure to reassign your references to the new module. The ecosystem generally haven't considered things like that in the past though, so requires quite a bit of setup to get working well in your own apps.
1. Something to track the dependency graph 2. A way of determining if a module has side effects (which really requires ES modules)