loading...

re: Frontend Development with Docker simplified VIEW POST

TOP OF THREAD FULL DISCUSSION
re: So im having trouble getting mine to work. I just created a plain index.js with console.log('hello world'), my startup script says nodemon index.js...
 
 

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.

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-...

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.

code of conduct - report abuse