nodemon not restarting after changes code example
Example 1: nodemon is not restarting
npm install --save-dev nodemon@latest
Example 2: nodemon not restarting
process.once('SIGUSR2', function () {
gracefulShutdown(function () {
process.kill(process.pid, 'SIGUSR2');
});
});
Example 3: nodemon running but not restart the server on files changes
add 'C:\Windows\System32' to your environment variables