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: server not restarting on same port #44

Closed
wants to merge 2 commits into from

Conversation

mtrezza
Copy link

@mtrezza mtrezza commented Jan 11, 2025

Closes: #43

  • Clears previously used ports that are not in use anymore
  • This may be a breaking change, as the required min. Node version in get-port 7.1.0 is Node 16

@mtrezza mtrezza changed the title fix: Server doesn't restart on same port fix: server not restarting on same port Jan 11, 2025
@mhassan1
Copy link
Owner

Tests fail on this branch because get-port@7 is ESM-only. Also, I don't think get-port@7 fixes the issue, anyway, since sindresorhus/get-port#43 is still open.

Here's an alternative PR that switches to portfinder: #45.

@mhassan1 mhassan1 closed this Jan 13, 2025
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.

Server fails to stop and start on same port
2 participants