Nodemon's currently watching every file in the entire app, and webpack is watching the clientside files. Saving a file webpack is watching, triggers both of them, then webpack will save the new bundle.js file which causes nodemon to trigger again.
This is dumb and annoying in local development (the socket server restarts just after you alt tab back into the browser)
Nodemon's currently watching every file in the entire app, and webpack is watching the clientside files. Saving a file webpack is watching, triggers both of them, then webpack will save the new
bundle.js
file which causes nodemon to trigger again.This is dumb and annoying in local development (the socket server restarts just after you alt tab back into the browser)