return unless defined?(RailsLiveReload) && Rails.env.development? RailsLiveReload.configure do |config| # HOT Constants config.watch(%r{/\.env$}, reload: :always) config.watch(%r{/\.env\.sample$}) # config.watch(%r{/config/initializers/hot_changes.rb$}) # USEFUL for tailwind changes!!!! config.watch %r{app/assets/builds/tailwind.css}, reload: :always # Rk: prevent any reload from files ending with '.tailwind.css' config.watch %r{(app|vendor)/(assets|javascript)/.+\.(css|js|html|png|jpg)(?