This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-06-15
Channels
- # ai (1)
- # announcements (1)
- # aws (4)
- # babashka (9)
- # biff (1)
- # calva (1)
- # clerk (15)
- # clj-kondo (24)
- # clojure (23)
- # clojure-austin (7)
- # clojure-europe (19)
- # clojure-nl (2)
- # clojure-norway (33)
- # clojurescript (43)
- # conjure (4)
- # data-science (2)
- # datahike (5)
- # datomic (14)
- # defnpodcast (27)
- # domino-clj (1)
- # events (1)
- # honeysql (13)
- # hyperfiddle (44)
- # introduce-yourself (1)
- # java (4)
- # jobs (1)
- # jobs-discuss (11)
- # lsp (3)
- # malli (14)
- # missionary (5)
- # off-topic (44)
- # pedestal (2)
- # podcasts-discuss (1)
- # releases (8)
- # remote-jobs (2)
- # shadow-cljs (3)
Hey folks, I am new to conjure and clj/cljs. My work project uses lein-figwheel
(the old one) for cljs development. I am trying to make Conjure work on this project. This is the process I follow:
1. Run figwheel:
$ lein figwheel <build-id>
(This opens up a REPL on port 7002)
2. Open neovim and go to the env/dev/cljs/user.clj
3. Execute ConjureConnect 7002
4. Now I am able to evaluate forms and buffers (but as it's a clj repl session, not all forms are evaluated properly)
5. Now I execute ConjurePiggieback (figwheel-sidecar.repl-api/repl-env :build-id)
6. The repl session gets stuck and doesn't accept any forms to evaluate (look at the screenshot)
I found https://github.com/Olical/conjure/discussions/370 discussion, but there was no conclusion. Could someone lend me a hand here? Would really appreciate.
I was able to piggieback using figwheel-sidecar.repl-api/repl-env
The only change I made was:
- ConjurePiggieback (figwheel-sidecar.repl-api/repl-env :build-id)
+ ConjurePiggieback (figwheel-sidecar.repl-api/repl-env "build-id")
I still don't understand why this is the case. But at least, I've got it working after more than 10 hours of debugging 🥲It would be great to have a readme section about this case. @U05AJ7KNDGE, could you please add your discovery to the https://github.com/Olical/conjure/discussions/370? It may be helpful to someone in the future.