Fork me on GitHub
#joyride
<
2022-06-04
>
orestis12:06:05

Does Calva have an API that would allow me to connect to a specific type of REPL at a specific port? e.g. I want to make a command that always connects to deps.edn, localhost:4321 , without prompting.

pez16:06:56

That API does not exist yet. Does it matter in this case that it is a deps.edn project?

orestis16:06:43

I mean, I guess not, I was just thinking about what the UI is showing. I essentially want to connect to an existing nREPL session. If I can also run a terminal command before so that the SSH tunnel is open, that'd be a great workflow for me.

orestis16:06:02

The terminal command I could probably do with Node.js, I guess.

pez19:06:35

What's the terminal command you want to run?

orestis04:06:15

A script we use to set up port forwarding to an EC2 instance.