Skip to content

Instantly share code, notes, and snippets.

@nicksarafa
Last active January 7, 2018 04:27
Show Gist options
  • Save nicksarafa/723cde070f60e25fedc46bbdeda0e233 to your computer and use it in GitHub Desktop.
Save nicksarafa/723cde070f60e25fedc46bbdeda0e233 to your computer and use it in GitHub Desktop.
react-native kill iOS
echo "alias rnkill=\"kill \$(lsof -t -i:8081); rm -rf ios/build/; react-native run-ios\"" >> ~/.zshrc; source ~/.zshrc
@nicksarafa
Copy link
Author

nicksarafa commented Jan 7, 2018

kills iOS react-native code when we continually get the red screen of death in iOS react-native no bundle URL present

  1. run the script inside your terminal
  2. open new terminal window
  3. $ runkill
  4. back to work 👍

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment