# Server restart to pick up changes

**URL:** <https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247>\
**Category:** Rails\
**Created:** [November 2, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247 "2006-11-02T19:30:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![victorfan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e8c25b/32.png) [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Post date:** [November 2, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247/1 "2006-11-02T19:30:48Z")

</div>

Hi,

I am working in development mode; however, I have to restart the  
webbrick server in order to pick up any changes. (Even for a simple  
change in views)

Do anyone know how to fix this problem?

Thank you very much

Victor

---

<div class="post-metadata">

**Author:** ![victorfan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e8c25b/32.png) [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Post date:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247/2 "2006-11-07T10:55:46Z")

</div>

I think, you should check your config\environments\development.rb file.  
It should contain:  
config.cache\_classes = false

Regards, Sergey

---

<div class="post-metadata">

**Author:** ![victorfan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e8c25b/32.png) [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Post date:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247/3 "2006-11-07T10:55:47Z")

</div>

I think, you should check your config\environments\development.rb file.  
It should contain:  
config.cache\_classes = false

Regards, Sergey

---

<div class="post-metadata">

**Author:** ![victorfan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e8c25b/32.png) [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Post date:** [November 7, 2006, 4:32pm UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247/4 "2006-11-07T16:32:23Z")

</div>

This is my development.rb

config.cache\_classes = false

# Log error messages when you accidentally call methods on nil.

config.whiny\_nils = true

# Enable the breakpoint server that script/breakpointer connects to

config.breakpoint\_server = true

# Show full error reports and disable caching

config.action\_controller.consider\_all\_requests\_local = true  
config.action\_controller.perform\_caching = false  
config.action\_view.cache\_template\_extensions = false  
config.action\_view.debug\_rjs = true

# Don’t care if the mailer can’t send

config.action\_mailer.raise\_delivery\_errors = false

---

<div class="post-metadata">

**Author:** ![victorfan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/e8c25b/32.png) [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Post date:** [November 7, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/server-restart-to-pick-up-changes/74247/5 "2006-11-07T16:31:45Z")

</div>

KomGBU wrote:

> I think, you should check your config\environments\development.rb file.  
> It should contain:  
> config.cache\_classes = false
> 
> Regards, Sergey

Thank you Sergey,

config.cache\_classes = false is already set in development.rb, but I  
still have to restart the server to pick up the changes.

Victor
