Looking for a way to implement 'hot code reloading' in a development Rails application?
Let's say you're working on a Rails project and make changes to a stylesheet. Currently, you have to refresh the page using cmd-r
or by clicking the refresh button to see the updated styling.
Is there a method to automatically reload the page when changes are made?
This feature works seamlessly in frameworks like Phoenix (but certainly not limited to it). How can we enable this functionality in Ruby on Rails?