Skip to content

Commit ced21af

Browse files
Update README.md
Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
1 parent f710e5e commit ced21af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ The `tailwindcss:build` is automatically attached to `assets:precompile`, so bef
2828

2929
### Building for testing
3030

31-
The `tailwindcss:build` is automatically attached to the `test:prepare` task. This is attached before Rails tests (eg `test:all` or `test:controllers`).
31+
The `tailwindcss:build` task is automatically attached to the `test:prepare` task. The `test:prepare` task is run before some test tasks (e.g. `test:all` and `test:controllers`), but not before the bare `test` task.
3232

33-
If you need a Tailwind file in your CI environment to run tests, the simplest way to do this is to run this command:
33+
If your tests need Tailwind assets in your CI environment, it's best to be explicit and run this command:
3434

3535
```
3636
bin/rails test:prepare test

0 commit comments

Comments
 (0)