Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Adjust text and message
  • Loading branch information
Timer committed Jan 14, 2018
commit 8e976d15975143d01817fcdc248dca7a75dc4004
13 changes: 9 additions & 4 deletions packages/react-scripts/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,17 @@ const HOST = process.env.HOST || '0.0.0.0';

if (process.env.HOST) {
console.log(
chalk.yellow(
`Attempting to bind to HOST environment variable: ${process.env
.HOST}. If this was unintentional, check that you haven't mistakenly set it in your shell.`
chalk.cyan(
`Attempting to bind to HOST environment variable: ${chalk.yellow(
chalk.bold(process.env.HOST)
)}`
)
);
console.log(chalk.yellow('Learn more here: http://bit.ly/2mwWSwH\n'));
console.log(
`If this was unintentional, check that you haven't mistakenly set it in your shell.`
);
console.log(`Learn more here: ${chalk.yellow('http://bit.ly/2mwWSwH')}`);
console.log();
}

// We attempt to use the default port but if it is busy, we offer the user to
Expand Down