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