Hey @bhauman, I’ve been noticing figwheel get progressively slower as my codebase has grown, at this point it takes up to ten seconds (sometimes longer) for changes to refresh — currently using the lastest version. Do you have any inkling of what the problem could be, or where/how I could dig into this.
you need to set the :recompile-dependents to false
https://clojurescript.org/reference/compiler-options#recompile-dependents
@conaw ^
performance is normally bound to the compiler
so how long does cljsbuild take to do an incremental compile using auto
?
That’s the first I’ve seen :recompile-dependents
, interesting
Hi. I'm trying to do a minial deps.end
/`clj` figwheel setup.
deps.edn
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
org.clojure/clojurescript {:mvn/version "1.10.64"}
reagent/reagent {:mvn/version "0.8.0-alpha2"}
figwheel-sidecar {:mvn/version "0.5.15"}}}
src/demo/core.cljs
(ns demo.core)
run.clj
(require '[figwheel-sidecar.repl-api :as f])
(f/start-figwheel! '{:builds [{:source-paths ["src"] :compiler {:main demo.core}}]})
Then, figwheel compile/starts without problems, but I can't find where to put the index.html. Already tryied: ./index.html
, ./resources/index.html
, ./resources/public/index.html
.