Fork me on GitHub

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.


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


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.


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


What's the terminal command you want to run?


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