Express 4 + pm2 watch not working Express 4 + pm2 watch not working express express

Express 4 + pm2 watch not working


Figured out a solution:

//processes.json:    {      "apps" : [{        "name"        : "someExpress4App",        "script"      : "bin/www",        "watch"       : "../",        "log_date_format"  : "YYYY-MM-DD HH:mm Z",      }]    }

Put that on the root of your project, then run your pm2 as so:

pm2 start processes.json