Commit 01eeb613 authored by Dan Abramov's avatar Dan Abramov
Browse files

Tweak npm start to make it clear it’s not optimized

Ref: https://twitter.com/sprjrx/status/760481328886272004
parent 44b83132
No related merge requests found
Showing with 7 additions and 1 deletion
+7 -1
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment