Fork me on GitHub
#conjure
<
2023-09-26
>
Braden Shepherdson13:09:19

I'm working with a :target :npm-module build in shadow-cljs running in the browser. (it's a long story.) the REPL is working nicely for namespaces that are already part of the build, but if I try to ,eb (= :EvalBuf) for a namespace that's not originally in the build, say a test namespace, it doesn't require properly. I see that :EvalBuf is effectively (eval-str buffer-contents), but for this shadow-cljs mode require has some extra machinery that's missed by eval-str. is there a binding for a proper require of the namespace? I can roll my own with a bit of scripting, but I wanted to check.