Skip to content

Commit

Permalink
fix(jest-dev-server): support for port being held by System Idle Proc…
Browse files Browse the repository at this point in the history
…ess (#95)
  • Loading branch information
Nico authored and gregberge committed Jul 21, 2018
1 parent 5dca53b commit e454973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-dev-server/src/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function setup(config) {
if (config.port) {
const [portProcess] = await findProcess('port', config.port)

if (portProcess) {
if (portProcess && portProcess.pid > 0) {
switch (config.usedPortAction) {
case 'ignore':
console.log('')
Expand Down

0 comments on commit e454973

Please sign in to comment.