This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-23
Channels
- # babashka (15)
- # beginners (102)
- # biff (4)
- # calva (15)
- # cider (51)
- # clojure (5)
- # clojure-dev (3)
- # clojure-europe (3)
- # clojure-france (1)
- # clojure-india (1)
- # clojure-korea (2)
- # clojure-norway (13)
- # clojurescript (20)
- # data-science (1)
- # datalevin (6)
- # datascript (2)
- # emacs (3)
- # events (2)
- # fulcro (4)
- # gratitude (2)
- # introduce-yourself (8)
- # lsp (3)
- # malli (1)
- # meander (1)
- # nbb (9)
- # off-topic (11)
- # releases (1)
- # ring (1)
- # yamlscript (5)
Hey folks 👋 I’m trying to share my REPL port my coworker, so that he could connect to it. Do you have some tips and tricks how to do it? Preferably with Calva 😇
Seems like this would be an on-topic question for the #CBE668G4R or #C6H9FUNET channels -- but as @UNST81B9P said, take a look at the LiveShare stuff in VS Code -- that's good for pairing etc.
If you prefer a more manual approach, you can create a .nrepl.env
file with something like this as its contents:
{:bind "0.0.0.0"
:port 12345}
Then start the REPL in Calva, make sure that your firewall allows that port through, share your IP address and that port with your coworker, tell them to configure their nREPL to connect to that address, and that should be it.An ancient but effective way is to share a tmux session with some editor/repl environment. Edit: sorry I misread, I see now you just want to open up a repl port, not share a coding session
I think doing exactly what @U2FRKM4TW mentioned is a way to go for me. Liveshare seems also pretty cool, though I didn’t use it extensively yet. Many thanks all for replies!
I've tested it very briefly and there's one thing worth noting - the REPL clients share the state but they don't share the code that's being executed and the results. So the REP part of "REPL" isn't shared at all.
There might be a configuration that tells an nREPL server/client to behave differently. But it's as unknown of a territory for me as it is to you.
Please use threads for replies instead of the main channel.
And I think with this you can share REPL
LiveShare if I’m not wrong