Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3637

nodemon app crashed - waiting for file changes before starting... HOW TO MAKE IT RESTART ANYWAY?

$
0
0

From time to time it does happen, but restarting the node bypass this. I really don't have how to debug and see the actual error and the site needs to be online anyway.

I wish to know a way to restart the server whet this error happens, without having to change a file or anything like that.

I know this is a way around, etc etc... but that's what I need to do now...

ERROR:

[nodemon] app crashed - waiting for file changes before starting...

PACKAGE.json

"scripts": {"test": "echo \"Error: no test specified\" && exit 1","start": "node app.js","server": "nodemon app --ignore './client/'","client": "npm start --prefix client","dev": "concurrently \"npm run server\" \"npm run client\"","build": "concurrently \"npm run server\" \"npm run client\""        },

starting using node server.


Viewing all articles
Browse latest Browse all 3637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>