Open
Description
Gems like tailwindcss-rails
and jsbundling-rails
run their respective build tasks by hooking in to test:prepare
which is defined as an empty task in the Test Unit railtie.
It would be helpful to define the same empty task if it's not already defined to allow those and other gems to perform their build tasks ahead of testing, rather than forcing the user to precompile assets. If the user is forced to precompile ahead of tests, then the suite needs to clobber them after running, otherwise the user becomes confused when future changes have no impact because the local development Rails app is loading the compiled assets rather than those in app/assets/build
.
Would you be happy to accept a PR that adds a similar empty task as that defined here?
Metadata
Metadata
Assignees
Labels
No labels