Fork me on GitHub
#figwheel-main
<
2018-07-15
>
john18:07:05

hmm, it looks like the connection-filter in the repl-env is filtering out my new conn that is sitting in the *connections*

bhauman18:07:20

@john yes it filters by build-id and process id

bhauman18:07:40

I don't think it's in the validation schema yet

bhauman18:07:04

but it should work like this :connect-id {:fwbuild "dev"}

bhauman18:07:50

but I'm also thinking that I should change the default filter fn to ignore the process-id when it's not there

bhauman18:07:07

that way you can just connect with the build-id

john18:07:33

Personally, I'll probably be keeping the same build across workers, to maintain advanced mode compatibility. Modules might be cool though eventually.

john18:07:38

@bhauman so this won't work by default yet, until the schema is updated? No worries

john18:07:04

focusing on webworker repls is going to be so rad though! 😄

bhauman18:07:41

you can use it now with :validate-config false I believe

john19:07:22

@bhauman strange... the conn initiated by the webworker lacks a :fwbuild "dev" in the :query map, but the initial one has one. If I open another one using a new tab, however, that one gets a :fwbuild

bhauman19:07:47

you have to add it to the connect url

bhauman19:07:08

?fwbuild=dev

john19:07:11

ah I see it

bhauman19:07:43

BTW if you see any changes that will make working with webworkers better please let me know

bhauman19:07:02

I haven't had time to explore that yet

john19:07:13

okay cool

john19:07:09

I've working on a lib that makes it pretty trivial to test stuff on webworkers here: https://github.com/johnmn3/tau.alpha

john19:07:30

this new figwheel focusing capability is going to make it even easier though

bhauman19:07:03

cool! I'm really glad you are exploring this

john19:07:55

It worked!

john19:07:07

I'll be updating the usage instructions on the repo to explain how to set up multi repl with figwheel.main

bhauman19:07:46

there's a new documentation setup on the repo

bhauman19:07:13

its in the /docs/docs directory

bhauman19:07:09

still very much a work in progress

john20:07:53

just updated the readme with some instructions on how to multi-repl with figwheel.main