nodemon not updating the page after save

I am trying to learn nodeJS and installed nodemon, and it seems to be installed, but it does not actually restart the server. But after that, when I make some changes to the page, it displays, but it does not actually reload the server (so I have to do it manually). How can I fix this problem, because it is properly installed, using npm install -g nodemon. If there is no way out of this problem, is there an alternative to nodemon? Here’s my package.json:

{"dependencies": {"express": "^4.17.3","nodemon": "^2.0.15"}}

I tried installing nodemon locally, reinstalling visual studio code, deleting all nodeJS modules, deleting nodeJS, reinstalling nodemon globally

Console output after first nodemon command

Console output after all next nodemon commands (notice it is not restarting the server)