reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
Gustavo Bertolino 2021-02-15T13:50:16.095800Z

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?

Gustavo Bertolino 2021-02-15T13:51:54.097100Z

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

vlaaad 2021-02-15T13:52:16.097600Z

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 Bertolino 2021-02-15T13:54:49.097800Z

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

Gustavo Bertolino 2021-02-15T13:55:59.098Z

@vlaaad 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]}

vlaaad 2021-02-15T13:58:40.098200Z

I have no idea how to integrate that with shadow-cljs, sorry šŸ™‚

vlaaad 2021-02-15T13:58:55.098400Z

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

1