node.js - how to manage nodejs instances selectively -


we want have ability run demo server independently testing env. these purposes use 2 nodejs instances run different options(ports).

i trying implement 2 different ci jobs managing these 2 servers independently see no way stop nodejs instances selectively.

is there way make named instances stop/start/restart them separately?

or way use forever watch file changes(want avoid because of time limit)?

you can use forever.js name each application run

forever --uid app start app.js forever --uid app1 start app.js 

then can restart individual apps

forever restart app1 

Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -