Skip to content

Commit

Permalink
Update cache sweepers to use the builds path
Browse files Browse the repository at this point in the history
  • Loading branch information
hasarindaKI committed Dec 13, 2023
1 parent 010f4bf commit 0ddff07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/katalyst/content/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Engine < ::Rails::Engine
initializer "katalyst-content.importmap", before: "importmap" do |app|
if app.config.respond_to?(:importmap)
app.config.importmap.paths << root.join("config/importmap.rb")
app.config.importmap.cache_sweepers << root.join("app/assets/javascripts")
app.config.importmap.cache_sweepers << root.join("app/assets/builds")
end
end
end
Expand Down

0 comments on commit 0ddff07

Please sign in to comment.