Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 624 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 624 Bytes

🔥 Rails Hot Module Reloading 🔥

Sample repo that demonstrates HMR in Rails. This repo uses:

Starting the App

$ yarn
$ bundle
$ ./bin/webpack-dev-server
$ rails s

Go to http://localhost:3000/pages/home.

🔥 Try HMR

  • 🔎 Note the time the page was rendered by Rails.
  • 📝 Edit the implementation of app/javascript/components/HelloWorld.js and save the file.
  • 🎉 See the changes happen without a page reload!