diff --git a/lib/sass/discourse_stylesheets.rb b/lib/sass/discourse_stylesheets.rb index 46eb49cba..028def076 100644 --- a/lib/sass/discourse_stylesheets.rb +++ b/lib/sass/discourse_stylesheets.rb @@ -10,6 +10,7 @@ class DiscourseStylesheets @lock = Mutex.new def self.cache + return {} if Rails.env.development? @cache ||= DistributedCache.new("discourse_stylesheet") end