bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

cljc reloading not working #633

Closed skbach closed 6 years ago

skbach commented 6 years ago

I've added :reload-clj-files {:clj true :cljc true} to my root figwheel config, but changes to the cljc files do not trigger a figwheel reload.

Are there any workarounds?

bhauman commented 6 years ago

The cljc files have to be in a watched directory i.e. in the specific builds ':source-paths'

skbach commented 6 years ago

Thanks Bruce.

I had the source-paths correct in the parent config but not in the dev build profile.