in my case i have a root level project which contains some re-frame related evts/subs (a plugin if you will), and also an example demo in an /example
folder which provides some hot reloading for development purposes. since figwheel isn't needed at all for the project's core functionality, i wanted to keep things tidy by moving any figwheel related assets to a subdirectory. i'm just being pedantic. đ
I'm trying to install cljs-devtools using deps.edn and figwheel-main. cljs-devtools says that I should put :external-config {:devtools/config {:features-to-install [:formatters :hints]}}}
in the compiler options if using lein or boot. I tried putting it in my dev.cljs.edn
file but it didn't seem to work. Should it? :external-config
is not documented in figwheel-main.
Apparently it should work, but when I check with (devtools.core/installed? :hints)
it returns false.
Maybe not quite what youâre looking for, but I just use entr and sassc (non-clj specific). http://eradman.com/entrproject/ ... less complected, as they say. Unix does a great job with this kind of thing; no need to tangle up the clj build tools.
Eg find src -name â*.scssâ | entr sassc âmy build âcommands > resources/public/styles.css