emezeske/lein-cljsbuild — pull request #47 by pkamenarsky (2012-03-01 21:05:30+00:00)
Title: Added :notify-command option

I took your advice and named the new option `:notify-command`; it is a per-build-profile option and can either be a string or have the value :bell, i.e:

:builds [{
:notify-command :bell
...
}
{
:notify-command "growlnotify -m '%s'"
...
}

When it is a string it is passed to `core/format` with the compiler success / failure message as an additional argument, so users can use it any way they like.

Let me know if I need to change something for this to go through :)