DEV Community

Discussion on: How to use Docker in your Node and React Applications

Collapse
 
ksb86 profile image
kevshabar • Edited

Great article! How do you recommend approaching a similar setup that supports restarting on file changes? Not necessarily a hot reload (although that would be nice too) but just a way to not have to kill and restart the entire container if you need to make an edit to the client or server while running.

Collapse
 
andrewbaisden profile image
Andrew Baisden

Auto reload already works for the React client frontend. I just updated the article with a new section (Optional) Using Nodemon to have the server auto restart when changes occur.

Nodemon will give you the ability to have changes auto update on the backend too!

Collapse
 
ksb86 profile image
kevshabar

👏