Skip to content

Commit

Permalink
Make messages windows-friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 21, 2016
1 parent bc6f4e1 commit 955ea33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion global-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 6 additions & 4 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
});

0 comments on commit 955ea33

Please sign in to comment.