This commit is contained in:
Francisco Hodge
2019-08-17 16:05:07 -04:00
parent eab88f7de3
commit 37ade80dd6
10 changed files with 242 additions and 16757 deletions
+1 -1
View File
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.log(chalk.red('Failed to compile.\n'));
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)
+1 -1
View File
@@ -106,8 +106,8 @@ checkBrowsers(paths.appPath, isInteractive)
);
},
err => {
console.log(chalk.red('Failed to compile.\n'));
printBuildError(err);
throw new Error('Failed to compile');
process.exit(1);
}
)
+2 -1
View File
@@ -41,7 +41,8 @@ function isInMercurialRepository() {
// Watch unless on CI or explicitly running all tests
if (
!process.env.CI &&
argv.indexOf('--watchAll') === -1
argv.indexOf('--watchAll') === -1 &&
argv.indexOf('--watchAll=false') === -1
) {
// https://github.com/facebook/create-react-app/issues/5210
const hasSourceControl = isInGitRepository() || isInMercurialRepository();