Skip to content

Update stop command message in messages.ts#15770

Open
jpc-ae wants to merge 3 commits intowithastro:mainfrom
jpc-ae:patch-1
Open

Update stop command message in messages.ts#15770
jpc-ae wants to merge 3 commits intowithastro:mainfrom
jpc-ae:patch-1

Conversation

@jpc-ae
Copy link

@jpc-ae jpc-ae commented Mar 5, 2026

CTRL+C kills the dev and preview processes while the actual stop/quit command is documented here: https://docs.astro.build/en/reference/cli-reference/

While either way works, the command version exits gracefully and should be highlighted for new users. One minor difference in the two versions when using powerline/OMP in a CLI is that CTRL+C will display a script error after the process was killed while the command does not.

Changes

  • The message after creating a new Astro project explaining how to run the dev server now explains that q + ENTER will stop the server.
  • The CTRL+C kill process shortcut is no longer mentioned.

Testing

This change is for a simple text string only. No specific tests reference this text in the codebase.

Docs

The docs are already clear enough, just the script message has not been updated: https://docs.astro.build/en/reference/cli-reference/

jpc-ae added 2 commits March 5, 2026 13:21
`CTRL+C` kills the dev and preview processes while the actual stop/quit command is documented here: https://docs.astro.build/en/reference/cli-reference/

While either way _works_, the command version exits gracefully and should be preferred.
Updates the welcome message to emphasize the graceful quit command.
@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: c5b3309

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: create-astro Related to the `create-astro` package (scope) label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: create-astro Related to the `create-astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant