weavejester / hiccup

Fast library for rendering HTML in Clojure
http://weavejester.github.io/hiccup
Eclipse Public License 1.0
2.68k stars 174 forks source link

Hiccup 1.0.4 breaks lein ring reload #81

Closed jasonab closed 11 years ago

jasonab commented 11 years ago

Upon upgrading from hiccup 1.0.2 to 1.0.4, I noticed that lein-ring no longer regenerates HTML from hiccup properly. Although lein-ring is recompiling the underlying code, the output HTML never changes. Downgrading back to 1.0.2 fixes this problem.

weavejester commented 11 years ago

Did you perform a lein clean at any point? There was a new protocol introduced in 1.0.3, so perhaps some class files are lingering around when they shouldn't be.

jasonab commented 11 years ago

I did, several times. I agree that the protocol is the most likely candidate for the problem, and I don't know why that would cause a problem.

jasonab commented 11 years ago

Ok, I just went back through and took a blowtorch to any compiled class I could fine, and that seemed to fix the problem. So, word to the wise, a simple 'lein clean' may not do the trick.