# WEBrick development environment not reloading views in Windo

**URL:** <https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829>\
**Category:** Rails\
**Created:** [December 8, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829 "2006-12-08T22:42:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 8, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/1 "2006-12-08T22:42:14Z")

</div>

I recently RoR on a machine running Windows 2003 server. When I fire  
WEBrick using the development environment, it does not reload the app  
with changed views. I have to shut down WEBrick and restart it to see  
the changes. Has anyone else had this problem?

---

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 8, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/2 "2006-12-08T23:16:20Z")

</div>

Tom Brandt wrote:

> I recently RoR on a machine running Windows 2003 server. When I fire  
> WEBrick using the development environment, it does not reload the app  
> with changed views. I have to shut down WEBrick and restart it to see  
> the changes. Has anyone else had this problem?

Just modifying the views should not require a webrick restart, but  
changing anything in the models probably will require a webrick  
restart.

Are you sure you’re only changing the views and not something about the  
models too?

Jeff

> **[Hey Daddio!](http://softiesonrails.com)**
>
> Home of Hey Daddio Software

---

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 8, 2006, 11:36pm UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/3 "2006-12-08T23:36:25Z")

</div>

On Dec 8, 2006, at 11:14 PM, Jeff wrote:

> Tom Brandt wrote:
> 
> > I recently RoR on a machine running Windows 2003 server. When I fire  
> > WEBrick using the development environment, it does not reload the app  
> > with changed views. I have to shut down WEBrick and restart it to see  
> > the changes. Has anyone else had this problem?
> 
> Just modifying the views should not require a webrick restart, but  
> changing anything in the models probably will require a webrick  
> restart.

Models do not need a restart in development mode, which is the one  
used by Tom. Views do not need a restart even in production mode, so  
there is something strange happening there.

---

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 9, 2006, 12:36am UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/4 "2006-12-09T00:36:29Z")

</div>

This is a simple “Hello World!” application and there is no model, just  
the controller and the view.

---

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 9, 2006, 2:22am UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/5 "2006-12-09T02:22:42Z")

</div>

Thanks, I’ll try Mongrel.

* * *

twb

… Original Message …

---

<div class="post-metadata">

**Author:** ![Tom\_Brandt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@Tom\_Brandt](https://www.ruby-forum.com/u/Tom_Brandt)\
**Post date:** [December 9, 2006, 2:00am UTC](https://www.ruby-forum.com/t/webrick-development-environment-not-reloading-views-in-windo/78829/6 "2006-12-09T02:00:39Z")

</div>

Tom Brandt wrote:

> This is a simple “Hello World!” application and there is no model, just  
> the controller and the view.

Do you have the mongrel gem installed? I would recommend mongrel over  
webrick anyway; and in Rails 1.2, it script/server will default to  
mongrel if you have it installed.

Mongrel is easy to install on Windows, easy to start and stop, and I’ve  
almost never had to restart it because of changes in my application  
(only big things, like adding a database migration or something like  
that).

> gem install mongrel  
> gem install mongrel\_service

Then from your rails app directory,

> mongrel\_rails start

will start up a webserver on port 3000 for you.

Jeff
