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
I've noticed that when writing clojure code I constantly need to 'rm -rf
classes' in my project, otherwise anything related to (defrecord) or
(defprotocol) doesn't update. I've tried this on OSX Lion running both JDK
1.6 and 1.7.
This isn't too hard to deal with in lein as I just run rm -rf cla