Skip to content

Commit

Permalink
Refs #37825 - Clear all connections after webpack:compile
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren committed Oct 31, 2024
1 parent 5a99815 commit 466865f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/webpack_compile.rake
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ namespace :webpack do
end

sh "npx --max_old_space_size=#{max_old_space_size} webpack --config #{config_file} --bail"
ActiveRecord::Base.clear_all_connections!
end
end

0 comments on commit 466865f

Please sign in to comment.