RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in