nodemon does not restart the server on some files code example
Example 1: nodemon is not restarting
npm install --save-dev nodemon@latest
Example 2: nodemon running but not restart the server on files changes
add 'C:\Windows\System32' to your environment variables