Fork me on GitHub
#figwheel-main
<
2021-11-21
>
Gerome20:11:27

Hello! Could someone point me to the documentation that explains how to run figwheel with an nrepl server, so I can use calva jack-in? I've looked at the tutorial, searched the documentation but I just can't find it.

practicalli-johnny21:11:41

I use the figwheel-main template to create a project and it's already setup to run nrepl. I jack-in using Emacs. I assume the same works for calva https://github.com/bhauman/figwheel-main-template

practicalli-johnny21:11:48

If your project is setup with the older figwheel, then in the project.clj, add :nrepl-port 7888 In the :figwheel section Here is an example (remove the comment to get figwheel to run nrepl - it can be any port that is free) https://practical.li/clojurescript/figwheel/server-side-config.html

Gerome10:12:20

Hey! Thanks for the tip. I'll try out that template.

Gerome10:12:27

I'm using figwheel-main

Gerome20:11:43

Or if there is not documentation, is there an article or a video?