Can I actually run nrepl with cider/cider-nrepl
and cider/piggieback
middlewares and repl (preferably with rebel-readline
) (in the same command line) with figwheel.main
with one command like clj -A:dev
and then connect to it with Calva? (Like how Calva manages to “jack-in” to nrepl and even correctly fire up figwheel even though there’s no mention of figwheel in the command that it’s supposedly running)
I imagine I would make a special dev
namespace with -main
function (that runs everything) in “dev” folder (added to extra-paths
in dev
alias in deps.edn), but I see no obvious way to connect all the pieces (even just running nrepl with middlewares is troublesome – it just throws cryptic exceptions and refuses to start). Can it even be done?
I would really appreciate if someone would share a guide on how nrepl and middlewares work or how data would flow through such a toolchain.