using nodemon server -- code example Example 1: install nodemon npm install nodemon --save-dev Example 2: install nodemon npm npm install -g nodemon