I use nodemon to monitor for changes to my files as follows:
./node_modules/.bin/nodemon -r esm ./src/index.js
However after using this plugin in my code it appears the app doesn't close down properly and I get an EADDRINUSE error. Saving the code again and nodemon restarts and all works fine.
I use nodemon to monitor for changes to my files as follows:
However after using this plugin in my code it appears the app doesn't close down properly and I get an EADDRINUSE error. Saving the code again and nodemon restarts and all works fine.
Every second save it works!