fil nodemon
# installing as dev dependency
yarn add nodemon -D
# staring nodemon via bash
nodemon ./server.js localhost 8080
zihad hassan
# installing as dev dependency
yarn add nodemon -D
# staring nodemon via bash
nodemon ./server.js localhost 8080
{
"name": "abc",
"version": "0.0.1",
"description": "my server",
"scripts": {
"start": "nodemon my_file.js" // <=
npm install -g nodemon
npm install --save-dev nodemon