I am working with emacs and nrepl. How can I do the following:
Exit nrepl
(currently I just kill the buffer)
Reload everything I was working with in nrepl
.
The problem I'm trying to solve by doing this is that when I have loaded an ns
form and it has an error, I am unable to load the correct code because it keeps giving me the previous error.
1) Exit the nrepl (currently I just kill the buffer)
Mx nrepl-quit
2) Reload everything in the nrepl. (I have this problem when I haave loaded the ns, and it has an error. Then I am unable to 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 just use Cc Cc
to eval an expression. Another option would be:
(use :reload 'my.namespace)
in the REPL.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.