How to enable automatic code reloading in Rails
<p>Is there a way to do 'hot code reloading' with a Rails application in the development environment?</p>

<p>For example: I'm working on a Rails application, I add a few lines of css in a stylesheet, I look at the browser to see the modified styling. As of right now I have to refresh the page with <code>cmd-r</code> or by clicking the refresh button. </p>

<p>Is there a way to get the page to reload automatically when changes are made?</p>

<p>This works nicely in the Phoenix web framework (and I'm sure Phoenix isn't the only framework in this feature). How could a feature like this be enabled in Ruby on Rails?</p>