Fork me on GitHub
#lein-figwheel
<
2016-06-05
>
jamesmintram20:06:17

So another problem I am having. Using

lein figwheel
my ring back end will reload with code changes. but
lein repl… use sidecar… start-figwheel!
does not Is there something that
lein figwheel
does that is not done when using the repl?

bhauman21:06:53

@jamesmintram: lein figwheel adds the :source-paths for the cljs-builds to the classpath (the top-level :source-paths)

jamesmintram21:06:29

Hmm, how does that help with rebuilding clj files used in the back end? (In the Ring portion of the project)

jamesmintram21:06:44

rebuilding/reloading the ring handler

bhauman21:06:37

I don't know, that's the only big difference that comes to mind

bhauman21:06:13

also figwheel reloads clj files, on the cljsbuild :source-paths

bhauman21:06:20

thats probably whats happening

jamesmintram21:06:20

Ah OK - thanks!

bhauman21:06:03

actually that might not be it because figwheel does that wether its launched from the repl or by leiningen

bhauman21:06:29

but if the files aren't on the classpath that could cause problems

jamesmintram21:06:45

Yeah - I will play around with that - thanks 🙂

ag23:06:28

figwheel-sidecar "0.5.4-SNAPSHOT” throwing error:

------- Figwheel Configuration Error -------

The key :compiler is spelled wrong. It should probably be :build-options

  :all-builds [{
    :compiler { :main "finops-admin.app"
                :asset-path "js/out"
                :output-to "resources/public/js/main.js"
                ... }
    ^ key :compiler is spelled wrong
  }]

ag23:06:15

what’s changed? It used to work with older version