Fork me on GitHub
#figwheel
<
2017-04-04
>
john21:04:23

hello all

john21:04:50

I am trying to connect a repl to a web worker

john21:04:05

Finally got it working with weasel

john21:04:15

I'd like to use figwheel though, since the tooling is so mature. For it to work though, I need to be able to control where the client js calls out to localhost 3449. Is that controllable in figwheel?

john21:04:43

And I can't just have figwheel insert the call out. It has to be inserted in a (when-not (in-webworker?) (repl/connect ...

john21:04:27

correction: (when (in-webworker?) (repl/connect ...

john21:04:00

well, either one, to control when the connect is called is the point

john21:04:05

and after searching through the figwheel documentation and blog posts, I was not able to find a reference to a programmatic figwheel/connect function I can use, so I figured I'd ask here.