Fork me on GitHub
#conjure
<
2023-06-15
>
Saket15:06:08

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.

Saket19:06:16

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 🥲

🥲 2
Dumch10:06:21

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.