Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreyes committed Feb 24, 2023
2 parents 4b23bb6 + 360bfb3 commit 5373f78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network/startNetwork.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ function checkIfRunning() {
case "darwin":
// backend
try {
execSync("lsof -ti tcp:9090 | xargs kill");
execSync("lsof -ti tcp:9090 | xargs -r kill");
} catch (e) {
return false
}

// frontend
try {
execSync("lsof -ti tcp:1274 | xargs kill");
execSync("lsof -ti tcp:1274 | xargs -r kill");
} catch (e) {
return false
}
Expand Down

0 comments on commit 5373f78

Please sign in to comment.