How do I enable automatic reloading of view files in development mode in JRuby on Rails?
Posted
by thekingoftruth
on Stack Overflow
See other posts from Stack Overflow
or by thekingoftruth
Published on 2010-05-24T18:27:23Z
Indexed on
2010/05/24
18:31 UTC
Read the original article
Hit count: 251
I am developing an app in JRuby on Rails. For some reason, when I edit the view files, the development JRuby Mongrel server doesn't reload them. The perplexing thing is that after editing the controller files, the server reloads them just fine on the next request.
This would be annoying even when using MRI Ruby, however starting up JRuby Mongrel after every view edit is much slower, and much more annoying. (Note that once it starts up it's quite fast, the only issue is startup--the JVM has to load up every time I start JRuby Mongrel.)
I'm running JRuby 1.5.0, Rails 2.3.5, and Java 6.
© Stack Overflow or respective owner