This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-16
Channels
- # announcements (2)
- # aws (2)
- # babashka (29)
- # beginners (69)
- # calva (6)
- # chlorine-clover (2)
- # cider (1)
- # cljs-dev (4)
- # clojure (44)
- # clojure-israel (1)
- # clojure-spec (3)
- # clojure-uk (31)
- # clojured (2)
- # clojurescript (6)
- # code-reviews (22)
- # core-typed (133)
- # cryogen (6)
- # cursive (7)
- # datomic (25)
- # emacs (19)
- # fulcro (69)
- # graalvm (1)
- # graphql (7)
- # lumo (1)
- # off-topic (92)
- # parinfer (2)
- # pedestal (6)
- # reagent (5)
- # remote-jobs (1)
- # shadow-cljs (11)
- # tools-deps (20)
- # tree-sitter (1)
- # vim (4)
- # vscode (6)
Hello again 🙂 I have another question.
I have a really small pet project https://github.com/il-tmfv/transit-decoder and I decided to switch to Clojure CLI + figwheel main from lein + legacy figwheel.
Everything went well, but now I cannot do jack in, it just waits forever in Launching REPL using Clojure CLI + Figwheel Main
state.
However project starts, I can see REPL prompt in terminal, hot reload is working too.
Calva Connection Log says only Socket closed
Calva version: 2.0.76
All edn files generated by https://github.com/bhauman/figwheel-main-template (I’ve added few lines dev.cljs.edn
config and figwheel-main.edn
)
I’m trying to use built-in sequence with :fig
and :build
.
That alias is a trap that I think most people fall into. If you have an idea where Calva, and its documentation could help people avoid it, please share.
@pez I’ve tried different aliases and it works only when you select nothing :face_with_rolling_eyes:
If I understand correctly figwheel-main
template uses -m figwheel.main
to start, where Calva uses -m nrepl.cmdline
and starts figwheel by sending commands to REPL
Confusing indeed. Maybe we should write a warning? Something like “If you used figwheel-main
template please make sure that builds/aliases you pick have proper main-opts
“. Maybe mentioning figwheel-main
is not a great idea since there a lot other templates. I honestly not sure how to describe it to be more novice-friendly. Checking all of this stuff for a person who is just starting learning clojure might be super overwhelming.