In your ~/.clojure/deps.edn
, add an alias like this:
:socket-repl {:extra-deps {me.flowthing/shiv {:git/url "https://gist.github.com/eerohele/8611d1a98bd2d5e8ddda14d8394d720a"
:sha "339ef83def69e62ac969a2fd797a9be1d3c1fe83"}}
:exec-fn shiv/start-server
:exec-args {:name "server"
:port 0
:accept clojure.core.server/repl
:server-daemon false}}