Open guns opened 10 years ago
@guns sorry for the delayed response - had notifications turned off. What version of cljsbuild is this with? It should be re-running each time auto
detects change.
What version of cljsbuild is this with?
lein-cljsbuild 1.0.0.
https://github.com/clojure/tools.cli/blob/master/project.clj
I just re-tried running cljsbuild auto
without a trampoline and it works beautifully! I typically run lein processes in a trampoline, so it seems I never attempted running without one.
So perhaps this is not a bug, but then I don't think I understand why running in a trampoline causes this problem…
Hmm, I've never tried it with trampoline. Does lein trampoline cljsbuild auto
work with normal cljs file?
Yes, lein trampoline cljsbuild auto
works when just auto-compiling a cljs file.
The documentation states:
Unfortunately, adding
:hooks [leiningen.dalap]
only seems to trigger lein-dalap once on start when runningcljsbuild auto
. Subsequent file changes trigger cljsbuild without dalap transformations.Am I doing something wrong? It would be quite nice to avoid running yet another JVM for a lein plugin.
Thank you very much for
lein-dalap
; Clojure by default is really the sanest way to do a multi-platform preprocessor.