tailwindcss/integrations/cli
Philipp Spiess 3f313b4eb2
Ensure that the CSS file rebuilds if a new CSS variable is used from templates (#17301)
Fixes #17288

This PR fixes an issue where changes in template files that _only mark a
new CSS variable as used_ was not causing the CSS file to rebuilds.

This also fixes a flaky integration test that was caused by a missing
`await` line on the final assertion (causing it to sometimes run the
assertion in time while the test runner was still running).

## Test plan

Turns out we already had an integration test for this but it wasn't
correctly running due to the missing await.
2025-03-20 12:52:02 +01:00
..
config.test.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00
index.test.ts Ensure that the CSS file rebuilds if a new CSS variable is used from templates (#17301) 2025-03-20 12:52:02 +01:00
plugins.test.ts Use amount of properties when sorting (#16715) 2025-02-21 15:02:07 +01:00
standalone.test.ts Make JS APIs available to plugins and configs in the Standalone CLI (#15934) 2025-02-25 13:21:46 +01:00