React create app hot reload is not always working on linux

后端 未结 9 1849
面向向阳花
面向向阳花 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 12:51

    sudo npm start

    i dont know more about linux, but it is probably due to firewall settings, as i have done the same in windows and there to start react dev server we need to give the access through firewall, so to do the same here we need to give it the admin permision(sudo in case of a ubuntu linux distribution).

提交回复
热议问题