lein-figwheel

negaduck 2017-03-10T11:14:44.007847Z

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

negaduck 2017-03-10T11:17:32.033118Z

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

2017-03-10T13:55:29.457172Z

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

negaduck 2017-03-10T14:00:11.516803Z

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

2017-03-10T14:02:50.551841Z

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.