Also tubular is a good solution. It is a socket client that will connect to the Lumo socket repl server. I’ve got a bash script for starting lumo, something like:
lumo --socket-repl 5555 --classpath src --dependencies funcool/promesa:1.9.0,reagent:0.8.1,...
and then I have a script dev/socket_repl.clj
, looking something like this:
(ns socket-repl
(:require [tubular.core]))
(tubular.core/connect 5555)
I can start the latter from Cursive by creating a new Clojure REPL config (`clojure.main` type) that points to dev/socket_repl.clj
in Parameters