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.
Is there a way to reload on some particular file change (i.e. clj, edn files etc). Should I look into Figwheel API?
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.