Quantcast
Channel: Planeta Linux Venezuela
Viewing all articles
Browse latest Browse all 1457

Héctor Colina: Running npm scripts continuously

$
0
0

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!


Viewing all articles
Browse latest Browse all 1457

Trending Articles