Skip to content

Conversation

@edison1105
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 09:26
@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
repl Ready Ready Preview Comment Dec 4, 2025 0:40am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@vue/repl@374

commit: 8440148

Copilot finished reviewing on behalf of edison1105 December 4, 2025 09:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue where files were not being recompiled when the Vue compiler changes. The change adds a watcher on the compiler ref that triggers recompilation of all files whenever the compiler is swapped (e.g., when switching between Vue versions).

Key changes:

  • Added a new watcher on the compiler ref that recompiles all files when the compiler changes
  • The watcher skips the initial run by checking if oldCompiler is undefined

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edison1105 edison1105 changed the title fix: recompile all files when compiler changes fix: recompile vue sfc files when compiler changes Dec 4, 2025
@edison1105 edison1105 merged commit cd22490 into main Dec 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants