scott-ad-riley / quadrakill

Quadrakill is a multiplayer topdown pixel arena shooter written with socket.io and pure canvas, with a little react and redux for the UI.
1 stars 0 forks source link

Fix nodemon locally #5

Open scott-ad-riley opened 6 years ago

scott-ad-riley commented 6 years ago

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)