I start React.js project in VS Code by
npm start
The development server of create-react-app stops when encountered an error by ESlint. And when an error is fixed it never auto refresh the page. It is necessary to refresh browser's page manually by push refresh button or F5.
For example: if i remove some of the closing brackets (which is error by default, not configured by ESlint), the development server stops, but when i place back the bracket, the server automatically refresh the page. But when the error is defined by ESlint (for example "no-trailing-spaces") the development server stops and after fixing the errors it never refresh the page..
Here are the results in pictures:
the server stops when encountered an error by ESlint
after the errors are fixed, the server still show error and never refresh automatically
p.s. Actually the server refresh ONLY one time on the first fixed error! On every following fixed error, the server never refreshing!
Is there are any way to fix this problem?
Many thanks!