Fork me on GitHub
#cider
<
2015-08-29
>
bozhidar08:08:19

@zentrope: there’s nothing built-in

bozhidar08:08:37

but something like that would be trivial to implement

bozhidar08:08:50

basically you can need an after save hook

bozhidar08:08:07

running the test command

bozhidar08:08:07

this can be made as fancy as you want

bozhidar08:08:23

the magic of Emacs - you don’t really need me to implement such a feature for you

bozhidar08:08:31

everyone can easily add it themselves

jwm15:08:58

yeah, I have to use the ip to avoid ssh

jwm15:08:15

oops, scrolled back heh

zentrope15:08:18

bozhidar: Was just curious if it already existed and "was a thing". ;) Magnars has an example: https://github.com/magnars/.emacs.d/blob/master/site-lisp/clj-autotest.el

zentrope17:08:59

Yikes! Updated to cider-nrepl "0.10.0-SNAPSHOT" and the latest melpa cider, and Emacs locked up on cider-jack-in.

zentrope17:08:29

Happens when running Emacs from the terminal as well. Hm.

zentrope17:08:44

Nuke and paved elpa, still dead on connect. (minibuffer says, "nREPL: Direct connection established."

zentrope17:08:31

Maybe it had something to do with clj-refactor? Anyway, using stable for cider, clj-refactor solves the probs. ;)

zentrope18:08:17

Interesting. If (in project.clj) I set the default ns to user, none of the middleware loads. {:repl-options {:init-ns user}}.

malabarba19:08:26

@zentrope cider is undergoing some big changes right now, so the snapshots are a little unstable ATM

zentrope23:08:12

malabarba: No prob. I guess it's a testament to how stable it usually is to feel like snapshots are no big deal. ;)