We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d1492 commit 7fd1dc9Copy full SHA for 7fd1dc9
server.mjs
@@ -41,7 +41,9 @@ async function checkPortAvailability() {
41
const portInUse = await portUsed.check(port)
42
if (portInUse) {
43
console.log(`\n\n\nPort ${port} is not available. You may already have a server running.`)
44
- console.log('Try running `killall node` to shut down all your running node processes.\n\n\n')
+ console.log(
45
+ `Try running \`npx kill-port ${port}\` to shut down all your running node processes.\n\n\n`
46
+ )
47
console.log('\x07') // system 'beep' sound
48
process.exit(1)
49
}
0 commit comments