Open floehopper opened 10 months ago
As I said above, I suspect this is related to the tailwindcss-rails
gem. However, I recently came across this useful write-up about assets in a modern Rails app by @rgarner which mentions something that might be somewhat related:
We used to use jsbundling-rails and cssbundling-rails with the esbuild opinion. We no longer do this. This is mostly because both those gems now indiscriminately enhance the spec:prepare rake task such that CSS and JS are built even when running a single spec.
When I was investigating how the
browserlist
warning that I fixed in https://github.com/freerange/music-coop/commit/35de739214c29b3958f260b70e1370d2cfb0a2e7, I seem to remember being surprised about the scenarios in whichtailwindcss-rails
recompiles assets. I have a feeling this is what's happening when you open a Rails console and maybe other Rails/Rake tasks...?