-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve logger (deduping, new help and version) #2737
Conversation
🦋 Changeset detectedLatest commit: ded20ae The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Big fan of the logging cleanup 🎉 Added one note on the HMR optimization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
LGTM! can we merge after #2705 ? |
Yep, that's the plan! |
a86303a
to
361fe5b
Compare
361fe5b
to
651501b
Compare
* feat: improve logger by removing repeat messages * feat(hmr): only send HMR updates when files change * feat: improve hmr formatting * feat(logger): improve welcome formatting * feat(logger): improve hmr formatting * chore(test): update cli test output * feat(logger): improve logging output * feat(logger): improve help/version flags * chore: remove checksum checks * fix(test): update cli tests * refactor(test): cleanup astro dev cli tests * chore: add changeset * chore(test): skip doctype test
Changes
(x2)
to the end of duplicatesupdate
orreload
messagesastro --help
output to match new logging styleastro --version
output to match new logging styleOld HMR

New HMR

New Help
On wide terminals
On tall terminals

New Version
Testing
Tested manually + CLI tests updated
Docs
N/A