You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found an interesting issue related to jest-dev-server in which the port hasn't been fully released on Windows. It can be reused, but it's attached to the "System Idle Process".
This will report System Idle Process as the process currently using the port. This has a process id of 0.
Changing the proceeding line if (portProcess) { to if (portProcess && portProcess.pid > 0) { resolves the issue by asserting that it's not being held by System Idle Process and allows the server to be started.
The text was updated successfully, but these errors were encountered:
Found an interesting issue related to
jest-dev-server
in which the port hasn't been fully released on Windows. It can be reused, but it's attached to the "System Idle Process".https://github.com/smooth-code/jest-puppeteer/blob/cda5a30ec24fd7ae995663aa47f5028cd1a45101/packages/jest-dev-server/src/global.js#L92
This will report System Idle Process as the process currently using the port. This has a process id of
0
.Changing the proceeding line
if (portProcess) {
toif (portProcess && portProcess.pid > 0) {
resolves the issue by asserting that it's not being held bySystem Idle Process
and allows the server to be started.The text was updated successfully, but these errors were encountered: