1
0
mirror of synced 2026-01-08 21:02:10 -05:00

Merge pull request #11083 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-10-11 10:34:10 -04:00
committed by GitHub

View File

@@ -41,7 +41,9 @@ async function checkPortAvailability() {
const portInUse = await portUsed.check(port)
if (portInUse) {
console.log(`\n\n\nPort ${port} is not available. You may already have a server running.`)
console.log('Try running `killall node` to shut down all your running node processes.\n\n\n')
console.log(
`Try running \`npx kill-port ${port}\` to shut down all your running node processes.\n\n\n`
)
console.log('\x07') // system 'beep' sound
process.exit(1)
}