You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was investigating how the browserlist warning that I fixed in 35de739, I seem to remember being surprised about the scenarios in which tailwindcss-rails recompiles assets. I have a feeling this is what's happening when you open a Rails console and maybe other Rails/Rake tasks...?
The text was updated successfully, but these errors were encountered:
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 35de739, 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...?The text was updated successfully, but these errors were encountered: