]> git.openstreetmap.org Git - rails.git/commitdiff
Restore asset debugging in development mode
authorTom Hughes <tom@compton.nu>
Mon, 28 Feb 2022 18:47:51 +0000 (18:47 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 28 Feb 2022 18:47:51 +0000 (18:47 +0000)
config/environments/development.rb

index 750a596b4378007829ed71ea9e9b961e6e97d72c..36a6f28204cb149371be89245b4c578c1c2bf18c 100644 (file)
@@ -56,6 +56,11 @@ Rails.application.configure do
   # Highlight code that triggered database queries in logs.
   config.active_record.verbose_query_logs = true unless Settings.status == "database_offline"
 
+  # Debug mode disables concatenation and preprocessing of assets.
+  # This option may cause significant delays in view rendering with a large
+  # number of complex assets.
+  config.assets.debug = true
+
   # Suppress logger output for asset requests.
   config.assets.quiet = true