LinkedInTwitterFacebook

Working with node.js and nodemon – part 001

Node.js is a platform for easily building fast, scalable network applications.

Download the archive from here.

Unarchive and you can use it.

The nodemon can be use during development of a node.js based application.

How? will watch the files in the directory that nodemon was started.

Also it will automatically restart your node application if it’s some changes.

Using nodemode is very easy.

You need to install nodemode using npm.

Now nodemon will be installed in to your bin path.

If you got some errors about : /usr/bin/env node then you need to add the module.

Add your node_modules to the PATH.

if you use the folder in your home account then edit .bashrc and add this:

or maybe you can try :

See my examples. In my bin node folder and I add to the PATH:

Try the nodemon module.

For more information, take a look at the documentation here