This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-28
Channels
- # adventofcode (2)
- # announcements (4)
- # babashka (34)
- # beginners (44)
- # biff (5)
- # calva (8)
- # cider (4)
- # clj-kondo (5)
- # clj-on-windows (5)
- # clojure (57)
- # clojure-art (1)
- # clojure-denmark (2)
- # clojure-europe (40)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojurescript (20)
- # cursive (6)
- # datomic (1)
- # emacs (6)
- # events (5)
- # fulcro (22)
- # helix (5)
- # hyperfiddle (5)
- # jobs (1)
- # joyride (2)
- # lsp (8)
- # malli (8)
- # off-topic (30)
- # pathom (8)
- # pedestal (1)
- # portal (5)
- # proton (1)
- # rdf (2)
- # re-frame (4)
- # releases (1)
- # remote-jobs (1)
- # reveal (8)
- # xtdb (5)
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]"]}
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.
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".