Commit 955ea330 authored by Dan Abramov's avatar Dan Abramov
Browse files

Make messages windows-friendly

parent bc6f4e19
No related merge requests found
Showing with 7 additions and 5 deletions
+7 -5
......@@ -91,7 +91,7 @@ function createApp(name, verbose, version) {
fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify(packageJson));
process.chdir(root);
console.log('Installing packages. This might take a couple minutes.');
console.log('Installing packages. This might take a couple minutes.');
console.log('Installing react-scripts from npm...');
run(root, appName, version, verbose);
......
......@@ -26,12 +26,14 @@ webpack(config).run(function(err, stats) {
process.exit(1);
}
var openCommand = process.platform === 'win32' ? 'start' : 'open';
console.log('Successfully generated a bundle in the build folder!');
console.log();
console.log('You can now serve it with any static server:');
console.log('You can now serve it with any static server, for example:');
console.log(' cd build');
console.log(' python -m SimpleHTTPServer 9000');
console.log(' open http://localhost:9000');
console.log(' npm install -g http-server');
console.log(' hs');
console.log(' ' + openCommand + ' http://localhost:8080');
console.log();
console.log('It is optimized and ready to be deployed for production.');
console.log('The bundle is optimized and ready to be deployed to production.');
});
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