Do you need runs npm apps in background?

Try forever a cli tool for runs npm script continuously.

Installing forever

npm install forever -g

Running forever

forever start your_app.js ---------> start your app

forever list ----------------------> show running apps with ids

forever stop your_app_id ----------> stop your app id

More information can be found in official forever page

That is all!

Enjoy this tip!

Leave a Reply

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>