Por 9.99€ al mes tendrás acceso completo a todos los cursos. Sin matrícula ni permanencia.
npm i nodemon
package.json
"scripts":{
// "start": "node ./bin/www"
"start": "nodemon ./bin/www"
}
Para parar el servidor:
npm stop
app.js
process.title = myApp;
scripts.json
"scripts": {
"start": "app.js",
"stop": "pkill --signal SIGINT myApp" /*process title*/
}