O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Node supervisor options

As mentioned in the Creating your first Node.js application recipe, OpenShift uses the node-supervisor module to run your programs. In this recipe, you will learn how you can configure node-supervisor options. If you have the node-supervisor module installed on your machine, you can see all the supported options by running the following command. You can install node-supervisor by executing the npm install supervisor -g command. The help option can be viewed using the following command:

$ supervisor --help

OpenShift allows you to configure the node-supervisor watch and poll-interval options. The watch option allows you to specify a comma-delimited list of folders or JavaScript files that the supervisor watches ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required