You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can automatically run lein-dalap when you are running cljsbuild auto or once command, just by adding a :hooks to your project.clj file
Unfortunately, adding :hooks [leiningen.dalap] only seems to trigger lein-dalap once on start when running cljsbuild 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.
The text was updated successfully, but these errors were encountered:
@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.
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…
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.The text was updated successfully, but these errors were encountered: