Fork me on GitHub
#figwheel-main
<
2018-10-23
>
pesterhazy16:10:43

Just saw a small issue where the first time you run figwheel.main (or after cleaning), the app cannot find base.js and other JS files. This doesn't seem to happen every time. Also if you Ctrl-C and restart, it works. So I suspect some race condition or other, or a problem related to the presence of the target/ folder in the class path

dpsutton19:10:33

configuring up figwheel-main 0.2.0-snapshot so i can use the extra mains feature. I've got

{:main             react-hitch.qui-tracker
 :extra-main-files {:devcards {:main react-hitch.devcards-runner}}}
and I expect to be able to see this extra main at http://localhost:9500/figwheel-extra-main/devcards.html but its not working. I see no compiled out either. Am i missing something obvious?

aisamu20:10:34

I think extra-main-files is supposed to go on the metadata

aisamu20:10:07

(and I'm running 0.1.9 with extra-main-files)

dpsutton21:10:30

oh. and you are running it successfully?

dpsutton21:10:35

thanks by the way

👍 1
aisamu21:10:24

Yup, working great!

dpsutton21:10:00

we're almost working. we aren't seeing our "test" directory showing up. only things in "src". does that ring a bell with you?

dpsutton21:10:13

thanks for your help earlier. the answer seems to be put "test" in the :watch-dirs vector

aisamu18:10:45

Oh, just saw that, sorry. No problem - it's the very least I can do! 🙂 I suspect the issue was that you didn't add "test" to your classpath. :watch-dirs automatically adds its folders when we forget it (besides setting the watch). IIRC, you'll see some warnings on figwheel's logs if that's the case.