Re: Stale .class files in protocols / records

2012-02-13 Thread Stathis Sideris
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

Re: Stale .class files in protocols / records

2012-02-13 Thread Stuart Halloway
> 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

Stale .class files in protocols / records

2012-02-13 Thread Andrew Cholakian
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