emezeske/lein-cljsbuild — Issue #31: hook for "run" task?
Author: zentrope
Created: 2012-02-18 04:31:26+00:00
State: open

Kudos on this plugin. It's has made my struggles with ClojureScript much easier.

Is it possible to add a hook to the "run" task? I often do the following:

lein trampoline run :main

or

lein run :main

These don't necessarily compile the app, so cljsbuild isn't invoked. Yes, I use emacs/swank, or use the auto feature of cljsbuild, and even build uberjars, but I also do the above when I just want to start up an app, then work on something else. Doing one of the above commands even calls "deps" behind the scenes, which is so nice.

Anyway, hope this seems a reasonable (and super simple) addition.

Regards,
Keith