Invocation of cljsbuild from cljx auto
charles-dyfis-net opened this issue · comments
Out-of-the-box, cljx auto does not provide a means of calling cljsbuild (once?) upon run.
Some workflow or configuration for getting the effect of both "lein cljx auto" and "lein cljsbuild auto" should be documented as supported.
I run cljsbuild auto
and cljx auto
with lein-pdo. However, cljsbuild auto
tends to compile before cljx auto
finishes which result the output javascript is a mix of old and new code. Any suggestion?
I had both open in two windows can you describe the exact invocation you are using and does it work? cljsbuild fails for me with reader issues, seems like cljx is probably deleting a dir it needs. I also place my cljx output in target/classes not sure if that matters, but having a dir as an output and a source probably is causing some issues (despite it being recommended on cljx readme)
I now run this alias and it seems to work fine: (server is an another alias for ring server headless)
"dev" ["pdo" "server," "cljx" "auto," "cljsbuild" "auto"]
admittedly my project is small, not sure if that will affect it.
Trimming the scope of 0.5.0 so as to cut a release addressing pressing issues. Will circle back later.