christianalfoni / webpack-express-boilerplate

A boilerplate for running a Webpack workflow in Node express
MIT License
1.4k stars 292 forks source link

How to reload server changes? #56

Open tanaypratap opened 7 years ago

tanaypratap commented 7 years ago

This currently only reloads when there's a change in react app. I am planning to do most of back end work in Express itself and would need to code the APIs there. In such use case, I would need even the server side code to reload itself after every change. How is this possible with this setup?

jforaker commented 7 years ago

Easy.

npm i nodemon --save-dev

Then nodemon server

Done.