cljx icon indicating copy to clipboard operation
cljx copied to clipboard

Invocation of cljsbuild from cljx auto

Open charles-dyfis-net opened this issue 10 years ago • 4 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.

charles-dyfis-net avatar Apr 28 '14 19:04 charles-dyfis-net

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?

myguidingstar-zz avatar Jul 28 '14 02:07 myguidingstar-zz

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)

ilazarte avatar Aug 02 '14 07:08 ilazarte

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.

ilazarte avatar Aug 08 '14 07:08 ilazarte

Trimming the scope of 0.5.0 so as to cut a release addressing pressing issues. Will circle back later.

cemerick avatar Dec 08 '14 15:12 cemerick