lein-figwheel

andrewboltachev 2018-03-10T12:10:13.000057Z

Hello. I've set :reload-clj-files to {:clj true :cljc true} and want on-jsload to be fired any time I save the *.clj file (i.e. one inside of CLJS compiler's :source-paths). But it seems only react to cljs files changes.

andrewboltachev 2018-03-10T12:10:53.000055Z

Is there a way to reload on some particular file change (i.e. clj, edn files etc). Should I look into Figwheel API?

bhauman 2018-03-10T17:53:27.000117Z

yes a clj file load doesn't trigger an on-jsload if the cljs files don't depend on it directly, if you do a require-macros for that file that will cause it to be called.

bhauman 2018-03-10T17:53:37.000070Z

@andrewboltachev