Vite-lizing Rails: get live reload and hot replacement with Vite Ruby
Recently, AnyCable author Vladimir Dementyev upgraded his AnyCable demo application to Ruby 3 and Rails 7 with its new asset management tooling. As a result, assets:precompile
became fast as lightning, but we lost one important productivity feature along the way: live reloading.
Now, with this Vite Ruby setup, we’ve got Rails with live reloading and hot replacement ready to go!
Vite-lizing Rails:
get live reload and hot replacement with Vite Ruby
Post a comment