Skip to content

Commit 562284b

Browse files
committed
Allow to configure some behaviour for react-scripts start script
1 parent 5348d6e commit 562284b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ checkBrowsers(paths.appPath)
106106
if (err) {
107107
return console.log(err);
108108
}
109-
if (isInteractive) {
109+
if (isInteractive && !process.env.NO_CLEAR_CONSOLE) {
110110
clearConsole();
111111
}
112112
console.log(chalk.cyan('Starting the development server...\n'));

0 commit comments

Comments
 (0)