Console clearing removes CRA’s own warnings
Created by: denis-sokolov
react-scripts start continuous scrollback clearing (#2495 (closed)) clears the warnings CRA itself prints. Here is a visual demonstration slowed down:
On a faster setup it is near impossible to read the warning before it disappears.
Platform: node 10.15.3, npm 6.9.0 Search terms: clear, console, warning, 2495.
Steps to Reproduce
- npx create-react-app my-app foo --typescript
- cd foo
- Delete allowSyntheticDefaultImports option in tsconfig.json
- npm start
Expected Behavior
Ideally react-scripts would not clear the scrollback (#2495 (closed)) and let the user see the logs of what happened in the past. Given the resolution of that issue this is unlikely.
Alternatively, react-scripts should take a lot of care to not clear its own warnings.