When I am changing the file on the folder I want to restart the two server files using nodemon in npm script
Here my npm script
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start":
"nodemon app/api/server.js && nodemon app/backend/server.js"
},
I finally done that by using concurrently plugin
And my npm start script will be