I have the same problem, and unfortunately I haven't found a better way to fix this apart from restarting the JVM. I start lein swank and connect to it using slime-connect from emacs, so it's not too painful, but still annoying. Maybe there is a way to force reloading without a restart, but I don't know how...
On Feb 12, 6:00 pm, Andrew Cholakian <andre...@gmail.com> wrote: > I've noticed that code I change in defprotocol or defrecord does not get > reflected unless I rm -rf classes. I've taken to 'rm -rf classes/myapp && > lein run' as the main way to run my code. > > Code outside defprotocol and defrecord gets reloaded just fine. > > I've tried this with JDK1.6 and 1.7 on OSX Lion, and it's bad on both. Does > anyone know why this is? It makes SLIME in particular a pain. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en