DEV Community

Discussion on: Frontend Development with Docker simplified

Collapse
 
victorioberra profile image
Victorio Berra

Sorry it took so long for me to get back to you, here is the repo github.com/VictorioBerra/docker-co...

You should just have to clone and run docker-compose up and then edit the index.js and notice nodemon never sees the file change, and does not restart the process.

Thread Thread
 
sonicoder profile image
Gábor Soós

In the meantime, I've put together a working Node.js Express app setup that rebuilds with Nodemon on file changes github.com/blacksonic/node-docker-...

Thread Thread
 
sonicoder profile image
Gábor Soós

I don't know what is watched by Nodemon with the default setting, but to be sure I've specified what to watch, maybe that is the missing piece in your code.

Thread Thread
 
victorioberra profile image
Victorio Berra