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 jarlef committed Nov 28, 2016
1 parent 97f708d commit 2e9da1b
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 2e9da1b

Please sign in to comment.