Closed gfZeng closed 8 years ago
The original entry from the forum post:
I following this instructions success connected to repl.
but, when I try to eval line(cmd+enter), light table try to connect a new repl, and finally failed.
why light table can not use the connected repl.
@gfZeng Here's an entry from the Boot (Hoplon) forum for a thread titled "Connecting to a Hoplon/Boot nREPL (e.g. with Lighttable)" that looks like it might have some relevant info.
@kenny-evitt not the same problem. my problem is the remote connected repl not used when I tried to eval code. the light table try to make an new connection.
@gfZeng Can you select the nREPL connection before evaling the code?
@kenny-evitt
How can I select connection?
In the command pane, run the command "Connect: Add Connection". Or run the command "Connect: Show connect bar" to see any existing connections.
@kenny-evitt
Yes, I saw it surely.
@gfZeng Does connecting to the existing connection fix this?
@kenny-evitt I did not found an option or command that can do this action --- connecting to the existing connection
@gfZeng I guess you can't connect to the existing connection; I'm not sure why. Would you mind sharing your project, or a minimal example [this would be preferred], and maybe expand on what you're doing that you described as:
I use
boot repl
launch a repl, and then connect it.
Running boot repl
is clear but what steps, exactly, are you doing to connect to it in Light Table?
I found this example Clojure Boot project – would you try to reproduce your problem using that project and let me know whether you can? If you can reproduce it with the example, I'll use that to investigate further.
google group discussion here
Like the discussion. I use
boot repl
launch a repl, and then connect it. It's ok, the connection is successful. but when I try toeval line(cmd+enter)
, the light table try make a new connection instead of use the exists connection. And the new connection failed after a minute.I used
jps -m
show the new connection info: