Update stop command message in messages.ts#15770
Open
jpc-ae wants to merge 3 commits intowithastro:mainfrom
Open
Update stop command message in messages.ts#15770jpc-ae wants to merge 3 commits intowithastro:mainfrom
jpc-ae wants to merge 3 commits intowithastro:mainfrom
Conversation
`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 detectedLatest 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CTRL+Ckills 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+Cwill display a script error after the process was killed while the command does not.Changes
q+ENTERwill stop the server.CTRL+Ckill 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/