Add guard-livereload to automatically reload the browser when files change

This commit is contained in:
rebuilt 2023-03-09 16:02:51 -08:00
parent 11f413eb84
commit 98b9134779
3 changed files with 103 additions and 6 deletions

10
Gemfile
View file

@ -53,15 +53,12 @@ gem 'bootsnap', require: false
gem 'mail_form'
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem 'debug', platforms: %i[mri mingw x64_mingw]
end
group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem 'guard'
gem 'guard-livereload', '~> 2.5', require: false
gem 'rack-livereload'
gem 'web-console'
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"
@ -70,6 +67,7 @@ group :development do
end
group :development, :test do
gem 'debug', platforms: %i[mri mingw x64_mingw]
gem 'factory_bot_rails'
gem 'rspec-rails'
end