npm start reload when edit json code example
Example 1: relaod the page in express
// Reloading the page
location.reload();
Example 2: nodejs express hot reload
$ npm install nodemon -g
$ nodemon app.js
// Reloading the page
location.reload();
$ npm install nodemon -g
$ nodemon app.js