An Emacs minor mode for the ClojureScript 'lein cljsbuild' command that will automatically watch the compilation buffer, pops it when the compilation failed and (optionally) hides it when the compilation succeed.
Packages are available in the Marmalade and MELPA repositories. Install the mode with M-x package-install RET cljsbuild-mode.
- M-x cljsbuild-auto
- Enjoy!
Alternatively, if you prefer to work from a terminal:
- Start a terminal with M-x term or M-x multi-term
- Run
lein cljsbuild auto
in it - Start
cljsbuild-mode
in the terminal buffer with M-x cljsbuild-mode