Is there a trick to getting Conjure to evaluate a buffer when running without shadow or figwheel main? I can send individual forms to the REPL fine, but when I evaluate a namespace nothing happens. My setup is pretty much: For Clojurescript:
clj -A:nrepl -M -m cljs.main -w src -w dev -w test -c foo.bar
Ensure the piggieback middleware is loaded and run a Clojure repl:
clj -M:nrepl -m nrepl.cmdline --middleware '[cider.piggieback/wrap-cljs-repl]'
And call
ConjurePiggieback (cljs.repl.browser/repl-env)
At that point, I can evaluate forms, but in a namespace like:
(ns foo.bar)
(def n 1)
When I evaluate the buffer, n is not defined. When I evaluate the file, I get an error that says "goog.nodeGlobalRequire is not a function".
However, I can send the (def n 1) form to my REPL. Could there be something wrong with my setup?