reveal

Casey 2022-11-28T17:00:29.508739Z

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]"]}

vlaaad 2022-11-28T17:55:02.209619Z

is there any problem with this setup? Haven’t tried but looks fine to me

Casey 2022-11-29T14:58:01.283389Z

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.

vlaaad 2022-11-29T19:25:04.529539Z

Ah, no, there is no built-in support for connecting to remote nrepl servers

Casey 2022-11-29T20:58:47.345529Z

borkdude said bb supports prepl. Maybe it's possible with prepl instead if nrepl?

Casey 2022-11-29T21:04:38.195529Z

Hm but emacs doesn't support prepl.

Casey 2022-11-29T21:04:49.908419Z

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".

vlaaad 2022-11-30T08:25:00.473629Z

Like clojure.main/repl , but with UI — vlaaad.reveal/repl