From c10ae2ff27dd00bdba031526d2cbed42c13727c0 Mon Sep 17 00:00:00 2001 From: Nazim Hajidin Date: Sun, 20 Nov 2016 08:30:12 -0500 Subject: [PATCH] Add missing --dev argument (#1058) --- packages/react-scripts/scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/scripts/build.js b/packages/react-scripts/scripts/build.js index 8b1cd4cc48f..d40912f2875 100644 --- a/packages/react-scripts/scripts/build.js +++ b/packages/react-scripts/scripts/build.js @@ -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'); }