Temporary workaround for babel --watch failing after first change.
I did find the issue when starting The Complete React Web Developer Course course.
[suggestion] babel --watch consistently fails (happening only on Linux?)
Install node-watch
npm install node-watch
add an entry to npm script
"scripts": {"watch-it-until-babel-watch-fails": "node ./watch-it.js"},
run the script a
npm run watch-it-until-babel-watch-fails
run live-server as always (looks like it can not be included in the npm script).
- find out if and how it is possible to avoid double reload