On Thu, Jan 27, 2011 at 9:46 PM, Noah Cutler <sit1way / hotmail.com> wrote:

> When creating a web app. in Groovy, it runs on the JVM in a servlet
> container like Tomcat. All is well in terms of having a truly dynamic
> application (i.e. make a code change and no need to restart) with the
> exception that mixin and parent class code changes are NOT picked up,
> which requires a restart.
>
> This is a show stopper for me.

Don't conflate Ruby with any particular web framework written using Ruby.

Ruby itself doesn't reload anything automatically if a file used in a
program changes while the program is running. That would be  terrible
behavior.

However, a Ruby program can be written to do exactly that, if that
behavior is desired.

I did web development with Ruby starting in 2002 with a web framework
that would reload code changes.

Rails does not do this in production mode, but it does do this in
development mode. Other ruby web development frameworks have their own
paradigms for when and how they will reload (or not).

So, the actual answer to your question will depend on what web
development framework you are using.


Kirk Haines
Developer
Engine Yard