简体   繁体   中英

clojure REPL - connect from another process

how to connect to existing clojure REPL from ClojureScript or from Java?

the question from title. Is there a helper class/library?

check out the network repl nrepl

it lets you connect to your repl over a network from any code you want

You are probably using Leiningen, so:

lein repl :connect 51000

(where the last number is the existing port number from the .nrepl-port file)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM