Whenever a JSX compilation error occurs, app crashes
Created by: ugultopu
Environment
macOS Catalina 10.15.6 node v14.7.0
Steps to Reproduce
In your text editor, enable auto-save. Hence, whenever you make a change, your editor saves your changes immediately.
Expected Behavior
Whenever a JSX compilation error occurs while editing the code, the app should just issue a warning about the error and not crash. It should continue as usual.
Actual Behavior
Whenever a JSX compilation error occurs while editing the code, the app crashes. Hence, every time you make a change that breaks the JSX compilation, you need to run npm start
again in order for react-scripts start
to be executed and your app to run.