The way that I'm reloading the nrepl in Clojure seems too bulky.
When I load a Clojure project and nrepl, I:
- Create a keyboard macro to input and return something like
(use 'my-namespace.core :reload).
- Next I bind the keyboard macro to something else, usually
- Finally, every time I switch into the nrepl, I execute
C-tab, and the repl reloads.
This seems like a lot of unnecessary work. I've looked around at getting the namespace programmatically, or with
C-c C-e, but nothing seems to fit quite right.
Isn't there an easier way?