Skip to content

Conversation

@philipp-spiess
Copy link
Member

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.

@philipp-spiess philipp-spiess requested a review from a team as a code owner March 20, 2025 11:47
@RobinMalfait RobinMalfait enabled auto-merge (squash) March 20, 2025 11:51
@RobinMalfait RobinMalfait merged commit 3f313b4 into main Mar 20, 2025
6 checks passed
@RobinMalfait RobinMalfait deleted the fix/rebuild-css-vars branch March 20, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changes in CSS file do not update Next.js setup

3 participants