DEV Community

Discussion on: Docker, Postgres, Node, Typescript Setup

Collapse
 
rollergui profile image
Guilherme

Great post! Helped me out a lot :P

Just so you know, I searched the -L flag on nodemon, cause I didn't know what that was, and I saw this in the docs:

In some networked environments (such as a container running nodemon reading across a mounted drive), you will need to use the legacyWatch: true which enables Chokidar's polling.

Via the CLI, use either --legacy-watch or -L for short:

nodemon -L

Though this should be a last resort as it will poll every file it can find.
Enter fullscreen mode Exit fullscreen mode

So, maybe it's not required. It looks worth to try and run things without it first :)