Body
Summary
Add a --watch flag to astro check.
Background & Motivation
In development mode there isn't a way to know if your .astro files contain no errors, aside from editor feedback. If you use astro check you will know about errors, but might not see them until CI unless you remember to run the command before pushing.
Goals
- A way to check TS errors in
.astro files during development workflow.
Non-Goals
- Having errors reported in the UI. This could be a nice enhancement in the future but would come with some downsides (such as possibly slowing down dev) that we want to punt on.
Example
Body
Summary
Add a
--watchflag toastro check.Background & Motivation
In development mode there isn't a way to know if your
.astrofiles contain no errors, aside from editor feedback. If you useastro checkyou will know about errors, but might not see them until CI unless you remember to run the command before pushing.Goals
.astrofiles during development workflow.Non-Goals
Example