How to restart browser

broken image
broken image
broken image

įirst, you have to install Nodemon package, run npm install nodemon now you have to add a script in package.json file. If you don't familiar with Nodemon or how to restart node server on changes you can find details on the internet. To restart my server every time I make any changes in the backend I'm using Nodemon package which is watching for multiple file types changes. We will use node-livereload npm package to reload our browser automatically once our server restart. So you know how to hot reload node js server, but if you are wondering how to reload browser along with the node server you land on the right place.