1) Exiting nrepl (currently I just kill the buffer)
Mx nrepl-quit
2) Reboot everything in nrepl. (I have this problem when I downloaded ns and it has an error. Then I cannot load the correct code, it still keeps giving me the previous error)
You can switch to the buffer and use Cc Ck to load the buffer, or simply use Cc Cc to express the expression. Another variant:
(use :reload 'my.namespace)
in REPL.
source share