Skip to content

Commit

Permalink
https text fix (#454)
Browse files Browse the repository at this point in the history
* run prettier

* fix printing of server location
  • Loading branch information
Jasper De Moor authored and devongovett committed Jan 1, 2018
1 parent a4afc84 commit 0fcdeb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ async function serve(bundler, port, useHTTPS = false) {
server.once('listening', () => {
let addon =
server.address().port !== port
? `- ${bundler.logger.chalk.red(
? `- ${bundler.logger.chalk.yellow(
`configured port ${port} could not be used.`
)}`
: '';

bundler.logger.persistent(
`Server running at ${bundler.logger.chalk.cyan(
`${https ? 'https' : 'http'}://localhost:${server.address().port}`
`${useHTTPS ? 'https' : 'http'}://localhost:${server.address().port}`
)} ${addon}`
);

Expand Down

0 comments on commit 0fcdeb9

Please sign in to comment.