Fork me on GitHub
#lein-figwheel
<
2017-03-10
>
negaduck11:03:44

is there a way to build a non-dev configuration, e.g., a min one, without stopping figwheel and doing lein clean?

negaduck11:03:32

would be cool to publish the compiled code without stopping dev env

hlolli13:03:29

@negaduck very "it depends" answer. But if you have different cljsbuild config for advanced and dev, then you can build it. It depents much on if you don't locate the minified js in the same place as development js file.

negaduck14:03:11

@hlolli, yes, I understand it can be unpredictable, especially when I don’t know what I’m doing, so I ended up having a second copy of my repo just for compiling to publish.

hlolli14:03:50

yes, you don't need to turn off figwheel ever. So if you have second repo, or maybe cool shell-script/jenkins project. Sounds like a case where you want to automate.