process.json
{
"apps": [
{
"name": "Hilary",
"script": "app.js",
"watch": ["packages", "config.js", "app.js"],
"instances": 1,
"exec_mode": "fork",
"ignore_watch": ["node_modules", "test", ".git", "files", "*.log", "tmp"]
},
{
"name": "Ethercalc",
"script": "app.js",
"cwd": "ethercalc",
"watch": ["*.js"],
"args": "--restart-delay=3000",
"instances": 1,
"exec_mode": "fork",
"ignore_watch": ["node_modules", ".git", "static", "*.log"]
},
{
"name": "Etherpad",
"script": "node_modules/ep_etherpad-lite/node/server.js",
"cwd": "etherpad",
"watch": ["*.js"],
"args": "--restart-delay=3000",
"instances": 1,
"exec_mode": "fork",
"ignore_watch": ["node_modules", ".git", "*.log"]
}
]
}