lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.5.0 vs lib/sewing_kit/webpack/manifest.rb in sewing_kit-0.5.1
- old
+ new
@@ -29,10 +29,10 @@
def manifest
if ::Rails.env.production?
# Cache at class level, as JSON loading/parsing can be expensive.
@manifest ||= load_manifest
else
- # Cache if we're outside of production; manifest may change.
+ # Don't cache outside of production; manifest may change.
load_manifest
end
end
private