Thursday, April 28, 2016

Creating a basic site with Node.js and Express - nodemon

http://shapeshed.com/creating-a-basic-site-with-node-and-express/

npm install -g nodemon
Then you can start your app with
nodemon
Nodemon automatically looks in your project setting to find the appropriate files and setting to start your server. If this does not work try:
nodemon app.js
Using nodemon means you don't have to restart your app each time you make a change. For more infomation on nodemon see the README

stop nodemon just use control C

No comments:

Post a Comment