Kill the Terminal and disable its session restoration
· 2 min read
The problem
When developing apps using React Native, I realized that every time the packager opens, it will spawn a new process of Terminal
(Mac OS built-in shell app). This behavior is not too complicated to deal with if you are only using in local development. Right click > Quit
and everything will be done.
But with CI / CD, it's another story.