figwheel-main

figwheel-main http://figwheel.org
joshkh 2019-07-14T12:29:19.058Z

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. 😉

oskarkv 2019-07-14T20:51:16.061200Z

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.

oskarkv 2019-07-14T21:34:07.062100Z

Apparently it should work, but when I check with (devtools.core/installed? :hints) it returns false.

rgm 2019-07-14T22:38:25.065100Z

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.

rgm 2019-07-14T22:40:40.067400Z

Eg find src -name “*.scss” | entr sassc —my build —commands > resources/public/styles.css