2

Whenever I make changes in the controller or models I need to re-start the server. Please, kindly clarify me. Rails version 5.2.2

  • And what if you just reload a browser tab? Does it display changes? Do you use puma as rails server? – Vasilisa Feb 20 '19 at 06:27

1 Answers1

3

Check yourconfig/environments/development.rb file and see if you can find these lines: set config.cache_classes = false and config.reload_classes_only_on_change = false

You can refer to these answers:

Rails Server needs restart every time I make changes? why?

Vagrant shared folder with rails server

Clara
  • 2,677
  • 4
  • 16
  • 31