React hot reloading webpack / nodemon not working on linux (file watchers)

Date: 2019-10-12

https://github.com/webpack-contrib/webpack-hot-middleware/issues/129

# For me to fix this issue, I had to both execute:
echo 100000 | sudo tee /proc/sys/fs/inotify/max_user_watches

# To set this permanently, add an entry to /etc/sysctl.conf, for example:

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

# And then launch my run command using "-- --reset-cache"
react-scripts start --reset-cache
26700cookie-checkReact hot reloading webpack / nodemon not working on linux (file watchers)