Fork me on GitHub

Mystery of the week

Starting Figwheel
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
[Figwheel:WARNING] Attempting to dynamically add "env/qa/cljs" to classpath!
[Figwheel:WARNING] Source directory "env/qa/cljs" is not on the classpath
[Figwheel:WARNING] Please fix this by adding "env/qa/cljs" to your classpath

$ find . -type f -exec grep "env/qa/cljs" \{\} \; -print
Binary file ./.git/index matches
So the env/ directory has subdirectories for demo/, dev/, local/, prod/, qa/, test/` , and uat/ , each of which has a cljs/ subdirectory. There is no reference to env/qa/cljs in any file, config or otherwise, in the project dir. I’ve cleared all my IDE caches and made sure none of the env subdirs is marked as a source dir. So why on earth does Figwheel pick env/qa/cljs to try and load dynamically when I’m building a local build, and not pick any of the others? And more importantly, how do I tell it to stop trying to dynamically load env/qa/cljs, which would interfere with my local build?


Figwheel has an option, :helpful-classpaths, where it tries to add paths it thinks might be ones you want ( I'm finding it a little difficult to track through the code on my phone but perhaps that's what's happening here.


Ooo, that sounds promising, tks!


Yeah, setting :helpful-classpaths to false solved it. Tks again!

👍 4