Restart flows using Node Red API

This question was also asked a few days ago in another thread, to which I gave this reply: Automatically restart one flow (not all flows) - #3 by knolleary

I'm not sure where pm2 comes into it - perhaps if you were to run each flow in its own instance of Node-RED, you'd be able to restart the relevant instance. However you then have the issue of managing multiple instances.