SkillAgentSearch skills...

Hotloader

Open Source Rails Gem: Save you refreshing your browser when frontending

Install / Use

/learn @Voxoff/Hotloader
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Hotloader

Caution: Hotloader is for Rails 5 and below

You know that expressionless face when you're waiting for your views to load. Every time you change a little bit of CSS. Well Hotloader auto refreshes your views.

Everytime you save a file in your rails app folder, your browser will automatically refresh. Save a view, a controller, a css component, your browser will refresh.

You could use Guard, Guardfiles, GuardLiveReload, bundle exec guard, another guard bug... but is that your best life?

Give ActionCable time to boot on launch of server and voilà.

Gem Version

https://rubygems.org/gems/hotloader

Installation

Add this line to your application's Gemfile:

gem 'hotloader', group: :development

Or install it yourself as:

$ gem install hotloader

Don't forget the javascript in application.js

//= require hotloader

Debugging

ActionCable requires redis. On OSX:

brew install redis

If the gem is not in the :development group, it will break deployment e.g. Heroku without Redis

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hotloader. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Hotloader project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated3mo ago
Forks0

Languages

Ruby

Security Score

87/100

Audited on Dec 18, 2025

No findings