This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-16
Channels
- # aleph (1)
- # aws (2)
- # bangalore-clj (2)
- # beginners (33)
- # cider (3)
- # cljs-dev (4)
- # cljs-experience (6)
- # cljsjs (1)
- # cljsrn (8)
- # clojure (84)
- # clojure-sanfrancisco (1)
- # clojure-spec (6)
- # clojure-uk (5)
- # clojurescript (42)
- # defnpodcast (3)
- # docs (3)
- # emacs (13)
- # events (1)
- # fulcro (2)
- # hoplon (19)
- # liberator (2)
- # off-topic (5)
- # onyx (7)
- # parinfer (1)
- # pedestal (1)
- # re-frame (13)
- # ring-swagger (13)
- # spacemacs (19)
- # yada (2)
Hi everyone !
I'm trying to consume NPM packages from cljs with figwheel and I encounter some strange behaviour.
When I add :npm-deps {:react "…"}
, then some of my files get analysed multiple time.
I get this classic message, but dozens of times :
Reading analysis cache for file:/Users/geoffrey/[…]/src/cljc/bf/data/spec/questions/basic_question.cljc
Analyzing file:/Users/geoffrey/[…]/src/cljc/bf/data/spec/questions/basic_question.cljc
The initial cljs build slowed from ~100 sec down to 426 sec. I got a feeling that everytime one of my file :require
some bf.data
sub-namespace, the whole bf.data
cache is re-analysed. Of course, it doesn't happen in a fresh lein new figwheel
app. Does some of you encountered some similar behaviour ?
I'm using the "1.9.908" release.@ggaillard this just isn’t enough information and you’re going to have to demonstrate something minimal - i.e. no Figwheel
Ok sorry for that, I'll try to reproduce it in a minimalist project