I'm pretty sure you already support restarting in Forever, but I prefer the features of PM2.
If you could even just point to where in the code you call the restart command, that would be awesome.
I know it is something related to the
The command to restart when using pm2 is
pm2 restart app.js
If you're using
pm2 loader.js, you should use the restart button in the ACP to restart NodeBB...
I was dag nabbit.
(... or ideally, don't use PM2 at all, since the loader supercedes it. Just:
But I like to use pm2 because I use it for all of my other task management needs. Where in the code would it be?