nodemon isnt needed anymore as far as i can tell, see https://www.youtube.com/watch?v=QPSnFzj9eUw
In version 18.11 and up, you can add --watch to you cli command and it will watch the file for changes and restart server automatically
ex: node --watch index.js
You can also tell it watch an entire directory (so like the src dir), and then anytime you make a change inside the dir it would restart