镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Document --watch=always in the CLI - #18337

Merged
thecrypticace merged 4 commits into
mainfrom
feat/document-watch-always
Jun 19, 2025
Merged

thecrypticace merged 4 commits into
mainfrom
feat/document-watch-always

Conversation

@thecrypticace

Copy link
Copy Markdown
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

@RobinMalfait RobinMalfait left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

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

@RobinMalfait

Copy link
Copy Markdown
Contributor

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
@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