Skip to content

Commit

Permalink
fix: Add missing --watch flag when running astro check --help (#6586)
Browse files Browse the repository at this point in the history
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
  • Loading branch information
SapphicMoe and bluwy authored Mar 20, 2023
1 parent 97f876a commit 6898842
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tender-emus-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

fix: Add missing --watch flag for astro check when running astro check --help
5 changes: 4 additions & 1 deletion packages/astro/src/cli/check/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export async function check(
commandName: 'astro check',
usage: '[...flags]',
tables: {
Flags: [['--help (-h)', 'See all available flags.']],
Flags: [
['--watch', 'Watch Astro files for changes and re-run checks.'],
['--help (-h)', 'See all available flags.']
],
},
description: `Runs diagnostics against your project and reports errors to the console.`,
});
Expand Down

0 comments on commit 6898842

Please sign in to comment.