Skip to content

fix(preview): set resolvedUrls null after close#18445

Merged
patak-cat merged 1 commit intomainfrom
preview-resolvedUrls
Oct 24, 2024
Merged

fix(preview): set resolvedUrls null after close#18445
patak-cat merged 1 commit intomainfrom
preview-resolvedUrls

Conversation

@bluwy
Copy link
Copy Markdown
Member

@bluwy bluwy commented Oct 24, 2024

Description

  • After the preview server is closed, resolvedUrls is reset to null (we did for the dev server but not for preview)
  • Improve jsdoc for resolvedUrls, particularly I wanted to note that they're URL encoded after reviewing fix(dev): prevent double URL encoding in server.open on macOS #18443
  • Improve jsdoc to mention that resolvedUrls can be null if the server is "not listening", not necessarily "before listening" (which could imply that the resolvedUrls may retain after closing the server)

@bluwy bluwy added the p3-minor-bug An edge case that only affects very specific usage (priority) label Oct 24, 2024
@patak-cat patak-cat merged commit 65014a3 into main Oct 24, 2024
@patak-cat patak-cat deleted the preview-resolvedUrls branch October 24, 2024 07:03
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p3-minor-bug An edge case that only affects very specific usage (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants