Skip to content

Document --watch=always in the CLI #18337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 19, 2025
Merged

Conversation

thecrypticace
Copy link
Contributor

Closes tailwindlabs/tailwindcss.com#1835

We had this in v3 as an undocumented option. We still have it in v4 but it's not documented under the CLI usage but should be. This PR adds this.

before
Screenshot 2025-06-18 at 09 41 40

after
Screenshot 2025-06-18 at 09 41 20

@thecrypticace thecrypticace requested a review from a team as a code owner June 18, 2025 13:42
@thecrypticace thecrypticace changed the title Document —watch=always in the CLI Document --watch=always in the CLI Jun 18, 2025
Copy link
Member

@RobinMalfait RobinMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it

Little bit sad that it's 2 sentences because for all the other help text we don't have a . at the end 😅

@thecrypticace
Copy link
Contributor Author

Should we split the two sentences on two separate lines and line them up while dropping the punctuation?

@RobinMalfait
Copy link
Member

Nah we already do some wrapping when your terminal is smaller and then it would just become a bit weird. We could make it a single sentence maybe?

Watch for changes and rebuild as needed, use `always` to keep watching when stdin is closed

🙈

@thecrypticace thecrypticace merged commit c5a997c into main Jun 19, 2025
7 checks passed
@thecrypticace thecrypticace deleted the feat/document-watch-always branch June 19, 2025 18: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.

Document the --watch=always flag on the CLI
2 participants