diff --git a/.changeset/tender-emus-eat.md b/.changeset/tender-emus-eat.md new file mode 100644 index 000000000000..bdf084fdb67a --- /dev/null +++ b/.changeset/tender-emus-eat.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +fix: Add missing --watch flag for astro check when running astro check --help diff --git a/packages/astro/src/cli/check/index.ts b/packages/astro/src/cli/check/index.ts index 83226db1c61d..10840aed103b 100644 --- a/packages/astro/src/cli/check/index.ts +++ b/packages/astro/src/cli/check/index.ts @@ -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.`, });