Skip to content

Commit

Permalink
Add missing --dev argument (facebook#1058)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhajidin authored and randycoulman committed May 8, 2017
1 parent 0568e91 commit c10ae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function build(previousSizeMap) {
console.log('To publish it at ' + chalk.green(homepagePath) + ', run:');
console.log();
if (useYarn) {
console.log(' ' + chalk.cyan('yarn') + ' add gh-pages');
console.log(' ' + chalk.cyan('yarn') + ' add --dev gh-pages');
} else {
console.log(' ' + chalk.cyan('npm') + ' install --save-dev gh-pages');
}
Expand Down

0 comments on commit c10ae2f

Please sign in to comment.