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
Post a Comment