Skip to content

Commit

Permalink
Tweak npm start to make it clear it’s not optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Aug 2, 2016
1 parent 44b8313 commit 01eeb61
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,14 @@ function setupCompiler(port) {
if (!hasErrors && !hasWarnings) {
console.log(chalk.green('Compiled successfully!'));
console.log();
console.log('The app is running at http://localhost:' + port + '/');
console.log('The app is running at:');
console.log();
console.log(' ' + chalk.cyan('http://localhost:' + port + '/'));
console.log();
console.log('Note that the development build is not optimized.');
console.log('To create a production build, use ' + chalk.cyan('npm run build') + '.');
console.log();

return;
}

Expand Down

0 comments on commit 01eeb61

Please sign in to comment.