Skip to content

fix: restart v4 compat dev server on config. file changes#286

Open
userquin wants to merge 2 commits into
mainfrom
userquin/fix-nuxt-v4-compat-not-restarting-dev-server
Open

fix: restart v4 compat dev server on config. file changes#286
userquin wants to merge 2 commits into
mainfrom
userquin/fix-nuxt-v4-compat-not-restarting-dev-server

Conversation

@userquin
Copy link
Copy Markdown
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
@AndreyYolkin AndreyYolkin added bug Something isn't working area: config Module configuration & options needs rebase Has merge conflicts; needs rebase on base branch labels Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: config Module configuration & options bug Something isn't working needs rebase Has merge conflicts; needs rebase on base branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants