Fork me on GitHub
#reveal
<
2021-02-15
>
Gustavo Bertolino13:02:16

Hi guys, is it possible to set reveal up in my project.clj or deps.edn so that when I fire a REPL via lein I can get reveal out of the box in this firing process?

vlaaad13:02:16

Hi! I’m assuming you are using nrepl? In that case please have a look at this readme section: https://vlaaad.github.io/reveal/#nrepl-based-editors

Gustavo Bertolino13:02:49

Hum, sure! I think I got the setup for the case of clj appls using project.clj

Gustavo Bertolino13:02:59

@U47G49KHQ But in the case of a cljs appl using shadow-cljs as build tool, I simply add the middleware in the shadow-cljs.edn, right? Something like this -->

{:middleware [vlaaad.reveal.nrepl/middleware]}

vlaaad13:02:40

I have no idea how to integrate that with shadow-cljs, sorry 🙂

vlaaad13:02:55

but if you figure it out, please consider sharing it here so I can add it to the readme

3
Gustavo Bertolino13:02:54

I mean, if I want to fire a REPL via lein to start my clj application in it and do other things, I'd also like to have reveal in this REPL