pvincent 6 months ago
parent
commit
b6119b7e89
  1. 2
      config/initializers/rails_live_reload.rb

2
config/initializers/rails_live_reload.rb

@ -8,7 +8,7 @@ if defined?(RailsLiveReload) && Rails.env.development?
# USEFUL for tailwind changes!!!!
config.watch %r{app/assets/builds/tailwind.css}, reload: :always
# Rk: prevent any reload for files ending with '.tailwind.css'
# Rk: prevent any reload from files ending with '.tailwind.css'
config.watch %r{(app|vendor)/(assets|javascript)/.+\.(css|js|html|png|jpg)(?<!tailwind\.css)$}, reload: :always
# Default watched folders & files

Loading…
Cancel
Save