Open birdspider opened 4 years ago
This is because files are added as resources in jars, and the citrus jar's resources/public/index.htm
l shadows the figwheel identically named resources/public/index.html
. This google group post mentions the problem: Classpath bug re Clojure 1.10.1.645 when using Figwheel.Main
Hi,
I'm not sure if this is a bug or something everyone knows about. But coming from an new-to-cljs perspective the following confusion happend to me:
1) I had a cljs/figwheel-main/cider/rum setup set up 1a) including a standard
resources/public/index.html
which contained somescript[src="cljs-out/dev-main.js"]
2b) the setup worked normally2) read about citrus, decide to try it out
3) as soon as
clj-commons/citrus
is added to deps.edn, the build-in-figwheel-dev-server:9500 returns anotherindex.html
response withscript[src="js/compiled/main.js"]
or similar, which is not there.4) how and why?