christianalfoni / webpack-express-boilerplate

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

How to reload server changes? #56

Open tanaypratap opened 8 years ago

tanaypratap commented 8 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 8 years ago

Easy.

npm i nodemon --save-dev

Then nodemon server

Done.