Fork me on GitHub
#lein-figwheel
<
2015-11-26
>
sander08:11:31

with sidecar, how do i choose the build id i want to compile? right now i have https://gist.github.com/sander/ec3bf9bb59f48e9f0c46 but the "browser" build doesn't produce any js files on (start) or (browser-repl)

sander08:11:25

workaround right now is to change the order of builds in figwheel.edn to put the one i want first

joseph12:11:48

Does anyone have the experience that the new refactored figwheel 0.5.* is slower than before?

joseph12:11:46

we just update to [org.clojure/clojurescript "1.7.170"], lein-cljsbuild to 1.1.1 and newest lein-figwheel, but it takes around 20s to compile and reload the little change in my colleague's PC...

joseph12:11:45

it used just to take less than 1 sec

joseph12:11:53

here is the old fast configuration:

joseph12:11:56

` :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "1.7.145"] [org.clojure/core.async "0.2.371"] [sablono "0.4.0"] [devcards "0.2.1"] [hiccups "0.3.0"] [org.omcljs/om "0.9.0"] [differ "0.2.1"] [org.clojure/core.match "0.3.0-alpha4"] [com.keminglabs/c2 "0.2.4-SNAPSHOT"] [com.andrewmcveigh/cljs-time "0.3.14"]] :plugins [[lein-cljsbuild "1.1.1"] [lein-figwheel "0.4.1"] [lein-shell "0.4.0"] `

joseph12:11:35

update org.clojure/clojurescript to 1.7.170 and lein-figwheel to 0.5.0-1, it becomes so slow

joseph14:11:57

@bhauman: I found that there are two build id in cljsbuild in project.clj, one contains all the dev src files, the other contains have both dev and test files, and it turns out the test cljsbuild is slower 2-3 times, takes around 5-6 seconds. It seems the more files, the slower compiling...

joseph14:11:42

here is my config dependencies and plugins:

joseph14:11:26

:dependencies [[org.clojure/clojure         "1.7.0"]
                 [org.clojure/clojurescript   "1.7.170"]
                 [org.clojure/core.async      "0.2.371"]
                 [sablono                     "0.4.0"]
                 [hiccups                     "0.3.0"]
                 [org.omcljs/om               "0.9.0"]
                 [differ                      "0.2.1"]
                 [org.clojure/core.match      "0.3.0-alpha4"]
                 [com.keminglabs/c2           "0.2.4-SNAPSHOT"]
                 [com.andrewmcveigh/cljs-time "0.3.14"]]

  :plugins [[lein-cljsbuild "1.1.1"]
            [lein-figwheel  "0.5.0-1"]
            [lein-shell     "0.4.0"]
            [lein-sassy     "1.0.7"]]