This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-18
Channels
- # atom-editor (5)
- # babashka (15)
- # beginners (80)
- # calva (11)
- # cestmeetup (6)
- # chlorine-clover (15)
- # cider (22)
- # circleci (3)
- # clojure (57)
- # clojure-europe (19)
- # clojure-italy (1)
- # clojure-nl (4)
- # clojure-spec (1)
- # clojure-switzerland (1)
- # clojure-uk (88)
- # clojurescript (92)
- # code-reviews (1)
- # cursive (6)
- # data-science (5)
- # datascript (6)
- # datomic (12)
- # events (7)
- # figwheel-main (2)
- # fulcro (55)
- # graalvm (2)
- # helix (6)
- # juxt (6)
- # kaocha (11)
- # luminus (2)
- # off-topic (82)
- # pathom (27)
- # portal (1)
- # re-frame (3)
- # reitit (25)
- # remote-jobs (8)
- # sci (11)
- # shadow-cljs (29)
- # slack-help (2)
- # spacemacs (9)
- # specter (4)
- # sql (9)
- # tree-sitter (1)
- # uncomplicate (1)
- # xtdb (26)
Hello all, in Chlorine I have to execute 2 times to connect to repl, is anyone with this problem or just me?
I hope it's just you 😄. Which OS / Clojure version?
deps.edn
-> :aliases {:dev {:jvm-opts ["-Dclojure.server.repl={:port,5555,:accept,clojure.core.server/repl}"]}}
I've noticed that occasionally but haven't been able to figure out a pattern for it. I think I've only seen it happen on Windows, and it may just be that the Socket REPL is taking longer to start there and just isn't quite ready when I first connect? I'll try to pay attention next time it happens.
"just isn't quite ready when I first connect?" -> the repl show prompt up and after I´ll try to connect it
@fabrao I really don't see this issue on Linux (nor the CI server sees it 😄), but I'll try to look at it. I remember that, on some development time, I saw these problems happening but they are like a Shroendinger's Bug - when I try to observe it (by adding prn
for example) it does not happen 😅
It depends how long the Socket REPL takes to start up in the background. It's not related to when the interactive prompt shows up in Powershell.
My experience with Clojure/Java on Windows is that some network-related stuff is substantially slower to set up than on macOS/Linux.
My experience with Linux is that the Socket REPL starts even before a prompt appears... I have no idea if it's slower on Windows, but probably is.
@fabrao, you can check if the Socket REPL is online by trying to telnet
into that port. If it is, indeed, online, then it's probably a bug on Chlorine side