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: restart v4 compat dev server on config. file changes #286

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

userquin
Copy link
Member

@userquin userquin commented Nov 14, 2024

Description

Changes included in #207 handling relative paths when we're using absolute paths (unconfig):

  • Nuxt v4 compat not calling handleHotUpdate on configuration changes and not watching files/folders outside srcDir folder: fixed using builder:watch + custom chokidar watcher
  • configuration files normalized via pathe
  • chokidar only included in build.externals not added as dependency/dev dependency

Linked Issues

Additional Context


Tip

The author of this PR can publish a preview release by commenting /publish below.

@userquin userquin changed the title fix: restart v4 compat dev server on when config. file changes fix: restart v4 compat dev server when config. file changes Nov 14, 2024
@userquin userquin changed the title fix: restart v4 compat dev server when config. file changes fix: restart v4 compat dev server on config. file changes Nov 14, 2024
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.

1 participant