-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
fix(react): Prevent font copying when stopping dev server with q+enter #15178
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
base: main
Are you sure you want to change the base?
fix(react): Prevent font copying when stopping dev server with q+enter #15178
Conversation
…dev server shutdown and add a test case to verify this behavior.
… files when stopping the dev server with the experimental Fonts API.
🦋 Changeset detectedLatest commit: 8cbbcbb The changes in this PR will be included in the next version bump. 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 |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
|
florian-lefebvre
left a comment
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.
Looks pretty good!
|
The test is failing, can you look into that? |
…improve `ENOENT` test assertion.
|
Ping me when tests pass and I'll be happy to review! |
Fixes dev server incorrectly creating dist folder and copying fonts when using q+enter to quit.
Changes
isBuildcheck inbuildEnd()hook to prevent font copying during dev server shutdownastro build, not when stopping dev server with q+enterfix-dev-quit-fonts-dist-creation.mdTesting
Docs
No docs changes needed. This fixes incorrect behavior in dev mode. User-facing behavior remains the same.