Restarting an Express web server using grunt-contrib-watch

I found some code for express livereload and for assets that change but I didn’t find anything that was good for restarting the Express webserver whenever a web server file changed. I’m very used to Django’s workflow where you can leave the dev web server running and it will reload whenever you change a Python file.

Maybe this is already built into Express, but the docs are fairly sparse.

JavaScript frontend books for Express, Grunt and Gulp

4 comments

    1. Yep! It’s pretty good, I’m using it on a recent client contract, only hard part was making sure the NODE_ENV was set correctly for the environment.

Comments are closed.