Skip to content

refactor(dev): remove proxy server -> direct listening#1105

Merged
danielroe merged 6 commits intomainfrom
refactor/proxy
Oct 30, 2025
Merged

refactor(dev): remove proxy server -> direct listening#1105
danielroe merged 6 commits intomainfrom
refactor/proxy

Conversation

@danielroe
Copy link
Copy Markdown
Member

@danielroe danielroe commented Oct 29, 2025

🔗 Linked issue

resolves #1098
resolves #1088
resolves #1081
resolves #965
resolves #209
resolves #1014

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)

📚 Description

this drops the proxy server in favour of letting the nuxt dev server handle listening.

this will mean that there's not a persistent connection, but it avoids a lot of the pain and potential problematic behaviour with having a proxy (either over socket, which can be flaky on different oses/runtimes - or over network, which is slow on windows)

this also implements a fork pool for hard restarts

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 29, 2025

nuxt-cli-playground

npm i https://pkg.pr.new/create-nuxt@1105
npm i https://pkg.pr.new/nuxi@1105
npm i https://pkg.pr.new/@nuxt/cli@1105

commit: f2925d1

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 29, 2025

📦 Bundle Size Comparison

📉 nuxi

Metric Base Head Diff
Rendered 4367.59 KB 4297.93 KB -69.67 KB (-1.60%)

📉 nuxt-cli

Metric Base Head Diff
Rendered 123.33 KB 120.80 KB -2.53 KB (-2.05%)

➡️ create-nuxt

Metric Base Head Diff
Rendered 2320.92 KB 2320.92 KB 0.00 KB (0.00%)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Oct 29, 2025

CodSpeed Performance Report

Merging #1105 will not alter performance

Comparing refactor/proxy (f2925d1) with main (3a92d84)

Summary

✅ 2 untouched

@danielroe danielroe marked this pull request as ready for review October 30, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant