Skip to content
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

fix: adopt forward-compatible approach to builder:watch #637

Merged
merged 2 commits into from Apr 8, 2024

Conversation

danielroe
Copy link
Member

We are planning to move to emitting absolute paths in builder:watch in Nuxt v4. You can see a little more about the history in the PR linked in that issue.

This PR is an attempt to use a forward/backward compatible approach, namely resolving the path to ensure it's absolute, then making it relative so your existing code will continue to work.

This should be safe to merge as is, but do let me know if you have any concerns about this approach.

Copy link

cloudflare-pages bot commented Mar 26, 2024

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5c2262a
Status: ✅  Deploy successful!
Preview URL: https://679f1758.nuxt-devtools.pages.dev
Branch Preview URL: https://absolute-builder-watch-paths.nuxt-devtools.pages.dev

View logs

@antfu antfu merged commit 800d71f into main Apr 8, 2024
3 checks passed
@antfu antfu deleted the absolute-builder-watch-paths branch April 8, 2024 12:20
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.

None yet

2 participants