Any tips on how I can go about making this happen? I usually start reveal using the nrepl middleware:
:cider-and-reveal {:extra-deps {vlaaad/reveal {:mvn/version "1.3.275"}
nrepl/nrepl {:mvn/version "1.0.0"}
cider/cider-nrepl {:mvn/version "0.28.5"}
refactor-nrepl/refactor-nrepl {:mvn/version "3.5.2"}}
:jvm-opts ["-Dvlaaad.reveal.prefs={:theme,:dark,:font-family,\"\",:font-size,16}"]
:main-opts ["-m" "nrepl.cmdline"
"--middleware" "[vlaaad.reveal.nrepl/middleware,refactor-nrepl.middleware/wrap-refactor,cider.nrepl/cider-middleware]"]}
is there any problem with this setup? Haven’t tried but looks fine to me
This works great.. but this the setup I use to create/connect a normal clojure jvm repl.
What I'm looking for is some way to run babashka's bb --nrepl-server , then run reveal in its own jvm process and have it connect to that nrepl server.
Ah, no, there is no built-in support for connecting to remote nrepl servers
borkdude said bb supports prepl. Maybe it's possible with prepl instead if nrepl?
Hm but emacs doesn't support prepl.
Sorry for this I feel like I'm doing a bad job at examining what I'm looking for. . The docs page I linked before says "Reveal can be used as a library, but it also can act as a REPL with Reveal output pane. It also includes nREPL middleware so it’s easier to use with nREPL." I'm not sure what it means to "act as a repl".
Like clojure.main/repl , but with UI — vlaaad.reveal/repl