user1069624
user1069624

Reputation: 571

Why do I always have to restart the Rails server?

Every time I change anything, I have to restart the server for it to take effect. But that wasn't always the case, it used to work normally before, when I changed anything, it used to get updated automatically.. what happened?

Upvotes: 1

Views: 665

Answers (1)

Jef
Jef

Reputation: 5474

Rails uses config.cache_classes to determine whether it should or should not reload your application classes on each request.

You should ensure it is set to false in your development.rb file (or whatever environment you actually use).

Upvotes: 3

Related Questions