Skip to content

fix: skip throwing error on init-reload-server.ts when server already running #993

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

Merged
merged 1 commit into from
May 18, 2025

Conversation

PatrykKuniczak
Copy link
Collaborator

* denotes required fields

Priority*

  • High: This PR needs to be merged first, before other tasks.
  • Medium: This PR should be merged quickly to prevent conflicts due to common changes. (default)
  • Low: This PR does not affect other tasks, so it can be merged later.

Purpose of the PR*

I want to not throw error when HMR trying to reload it self because of e.g turbo.json edit

Changes*

I've added display info about already running server on EADDRINUSE error code for init-reload-server.ts

How to check the feature

Run pnpm dev and try to edit turbo.json and check new info in console.

@PatrykKuniczak PatrykKuniczak merged commit fc1b5c6 into dev May 18, 2025
11 checks passed
@PatrykKuniczak PatrykKuniczak deleted the fix/hmr-for-init-server branch May 18, 2025 16:49
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