Skip to content

Commit 75921b3

Browse files
feat(cli): add --watch to astro check command (#6356)
* feat(cli): add `--watch` to `astro check` command * chore: refactor in a leaner way, logic not changed * chore: lint * chore: revert changes in sync command * chore: tweak server settings * test: add one test case * chore: increase timeout * test: predictable testing * chore: add changeset * chore: code suggestions * code suggestions * chore: use directly `chokidar` * chore: tweak code * fix: open documents first * chore: disable test * chore: code suggestions * chore: code suggestions * Apply suggestions from code review Co-authored-by: Erika <[email protected]> * code suggestions * chore: rebase --------- Co-authored-by: Erika <[email protected]>
1 parent 1291afc commit 75921b3

File tree

13 files changed

+467
-69
lines changed

13 files changed

+467
-69
lines changed

.changeset/six-moons-taste.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': minor
3+
---
4+
5+
Added a new `--watch` flag to the command `astro check`

packages/astro/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
"@types/yargs-parser": "^21.0.0",
114114
"acorn": "^8.8.1",
115115
"boxen": "^6.2.1",
116+
"chokidar": "^3.5.3",
116117
"ci-info": "^3.3.1",
117118
"common-ancestor-path": "^1.0.1",
118119
"cookie": "^0.5.0",

0 commit comments

Comments
 (0)