-
Notifications
You must be signed in to change notification settings - Fork 373
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
chore(app-tools): remove afterDev hook judgment to ensure environment… #4768
Conversation
🦋 Changeset detectedLatest commit: c6f8d56 The changes in this PR will be included in the next version bump. This PR includes changesets to release 257 packages
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 |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4768 +/- ##
==========================================
- Coverage 57.59% 51.17% -6.42%
==========================================
Files 672 680 +8
Lines 17794 18959 +1165
Branches 3876 4376 +500
==========================================
- Hits 10249 9703 -546
- Misses 6934 8527 +1593
- Partials 611 729 +118 ☔ View full report in Codecov by Sentry. |
Summary
🤖 Generated by Copilot at c6f8d56
This pull request removes the
process.stdout.isTTY
check from theafterDev
hook in the@modern-js/app-tools
package, so that the hook is always run and displays some information and tips after the development server is started. This improves the consistency and predictability of the development and testing environments.Details
🤖 Generated by Copilot at c6f8d56
afterDev
hook to display information and tips after development server is compiled (link,link)@modern-js/app-tools
package with patch version bump and change description in English and Chinese (link)process.stdout.isTTY
condition fromonDevCompileDone
callback inanalyze
module of@modern-js/app-tools
package (link)isFirstCompile
flag to control if information and tips are printed only once or every time code changes (link)afterDev
hook regardless of output device (link,link)Related Issue
Checklist
pnpm run change
.