Valentin Marchaud
Valentin Marchaud
They use the function fork, we can use `detached: true` only with spawn.
I wasnt able to reproduce with a simple cluster implementation, this might coming from the fact that we are a spawning a child from a forked child or something like...
@ajithr No, like i said, the problem come from nodeJs implementation of the cluster mode. I suggest you to develop in fork mode.
@centigrade-thomas-becker The fact a popup is spawning when you call `child_process.exec` isn't coming from pm2, it come from the system of spawning a child process of node itself, you may...
@sajadghawami I believe it doesn't, `ts-node` need to use the implement the new API released in 3.6
`node.js version │ 5.2.0 ` You should try with a newer versions of NodeJS. This one isn't supported.
https://github.com/pm2-hive/pm2-logrotate#how-to-set-these-values-
@bambamx Could you try with `max_size: 1KB` ?
We currently don't handle module in ecosystem file but there are an issue in PM2 to implement it here : https://github.com/Unitech/pm2/issues/3268
https://github.com/keymetrics/pm2-logrotate/blob/master/app.js#L212