> 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.

Because you (or a tool you are using) creates class files somewhere higher up 
on the classpath than Clojure's dynamic loading. 

Hopefully there is a different lein workflow that can avoid this. 

Stu


Stuart Halloway
Clojure/core
http://clojure.com

-- 
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

Reply via email to