Add livereload

This commit is contained in:
rebuilt 2023-05-17 15:26:24 -07:00
parent 4509c157fa
commit b915c61476
4 changed files with 123 additions and 64 deletions

View file

@ -1,12 +1,12 @@
Rails.application.configure do
config.after_initialize do
Bullet.enable = true
Bullet.alert = false
Bullet.enable = true
Bullet.alert = false
Bullet.bullet_logger = true
Bullet.console = true
Bullet.console = true
# Bullet.growl = true
Bullet.rails_logger = true
Bullet.add_footer = true
Bullet.rails_logger = true
Bullet.add_footer = true
end
# Settings specified here will take precedence over those in config/application.rb.
@ -71,4 +71,6 @@ Rails.application.configure do
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
config.action_controller.include_all_helpers = false
config.middleware.insert_before Rack::Runtime, Rack::LiveReload
end