diff options
author | 2023-03-20 23:44:58 +0500 | |
---|---|---|
committer | 2023-03-20 15:44:58 -0300 | |
commit | 68988425119255382f94c983796574050006f003 (patch) | |
tree | 437ed9b2535fdb6f2d4a73bc8fd73da4f1245ac5 | |
parent | 97f876abba31438ae4cc41fdbae276fbbc78e98b (diff) | |
download | astro-68988425119255382f94c983796574050006f003.tar.gz astro-68988425119255382f94c983796574050006f003.tar.zst astro-68988425119255382f94c983796574050006f003.zip |
fix: Add missing --watch flag when running astro check --help (#6586)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
-rw-r--r-- | .changeset/tender-emus-eat.md | 5 | ||||
-rw-r--r-- | packages/astro/src/cli/check/index.ts | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.changeset/tender-emus-eat.md b/.changeset/tender-emus-eat.md new file mode 100644 index 000000000..bdf084fdb --- /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 83226db1c..10840aed1 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.`, }); |