When I run a command like react-native run-ios or react-native start, it launches a new terminal window with the react native compiling process running/watching inside of the new terminal window.
How can I watch for this new process to start? Or find it among running terminal processes? Find the pid, etc.
My task is specific and obscure, but this is more or less exactly what I need to do. Can anyone help?