React create app hot reload is not always working on linux

后端 未结 9 1883
面向向阳花
面向向阳花 2020-12-24 12:03

I created a react application using create-react-app boilerplate, which seems to be very popular, hot reload some times updates when any of the files changes and some times

9条回答
  •  渐次进展
    2020-12-24 13:01

    run this command

    sudo -i
    echo 1048576 > /proc/sys/fs/inotify/max_user_watches
    exit
    

提交回复
热议问题