figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
conaw 2018-03-02T00:35:41.000308Z

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.

bhauman 2018-03-02T14:55:37.000517Z

you need to set the :recompile-dependents to false

bhauman 2018-03-02T14:56:03.000708Z

@conaw ^

bhauman 2018-03-02T14:56:28.000258Z

performance is normally bound to the compiler

bhauman 2018-03-02T14:58:01.000555Z

so how long does cljsbuild take to do an incremental compile using auto?

2018-03-02T18:05:48.000611Z

That’s the first I’ve seen :recompile-dependents, interesting

souenzzo 2018-03-02T23:05:51.000260Z

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.