Fork me on GitHub
#figwheel-main
<
2021-06-04
>
dominicm08:06:33

@drewverlee you can set up an editor repl with figwheel, no problem. I don't entirely understand the question 🙂

Drew Verlee19:06:54

My question was somewhat open ended, i know editor integration is possible. But it was hard to understand in the context of the project i linked how to achieve it. I ended up running cider-jack-in-clj&cljs and that started two n repls. The one devoted to cljs fired up the fighwheel repl. From there I used the clj one to launch the webserver. This seems to have gotten me the functionality i expected.

dominicm07:06:09

That makes sense to me 🙂 (That's how I always do these connections: figwheel & clojure in the same JVM)

Burin14:06:12

Is there a way to run two cljs/figwheel-main project at the same time? Or is it always suppose to work with just one project at a time only.

Drew Verlee19:06:13

@agilecreativity you should be able to run as many as you want. I suspect the only collision would be ports. That's my intuition at least.

Burin19:06:02

yep, just figured it out. It looks like I need to try using the combination of :connect-url, :open-url, and perhaps :ring-server-options

Burin19:06:31

Otherwise the port will always start at the same e.g. 9500 the default.