Fixed slow terminal launch in mac without preventing the subway builder from running

I followed the steps given in this answer

It works pretty well, but when I run my project react-native, which requires the subway builder, it fails to get started. Metro Builder will not start with these changes in the terminal. Any suggestion?