Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Remove browser auto launch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylankjy committed Sep 18, 2021
1 parent d04ef66 commit 0bbf490
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ const webserver = () => {
console.log(`\x1b[1m\x1b[2m[WEBSERVER] - \x1b[0m\x1b[1m\x1b[31m\x1b[5mFAILED\x1b[0m\x1b[31m: Unable to bind to port 5000. Could there possibly be another instance alive?\x1b[0m`)
process.exit(1)
}
// console.log(`\x1b[1m\x1b[2m[WEBSERVER] - \x1b[1m\x1b[34mOK\x1b[0m: Webserver binded on port ${webserverPort} | http://localhost:${webserverPort}\x1b[0m`)
console.log(`${chalk.greenBright('Loaded and ready: ')}${chalk.whiteBright('Launching Metronami in your browser...')}`)
open(`http://localhost:${webserverPort}`)

setTimeout(() => {
console.log(`${chalk.cyan('Nothing happened? ')}${chalk.whiteBright('You may manually access Metronami at http://localhost:' + webserverPort)}`)
}, 5000)
})
}

Expand Down

0 comments on commit 0bbf490

Please sign in to comment.