justDare / TypeScript-Node-Docker

TypeScript + Node + Docker setup for dev and prod with hot reloading
59 stars 23 forks source link

Nodemon might need legacywatch #1

Open MSeifert04 opened 2 years ago

MSeifert04 commented 2 years ago

When I tried to run the code I noticed that it did not hot-reload. It worked after I added "legacyWatch": true, to the nodemon.json.

I'm not sure why this happens (maybe docker-windows specific) just wanted to let you know. Feel free to close this if you don't think that needs action.

By the way: Thanks for the blog post and the repo 👍

thunderkid commented 2 years ago

I'm also finding I need "legacyWatch": true in nodemon.json for docker on windows 10. I'm a little nervous about how scalable this is for a large codebase, since the nodemon docs say this should only be set as a last resort as it polls every file it can find.