Skip to content

Instantly share code, notes, and snippets.

@brampersandon
Last active January 7, 2019 15:43
Show Gist options
  • Save brampersandon/f6a38fe74454b192999cf904bacd0262 to your computer and use it in GitHub Desktop.
Save brampersandon/f6a38fe74454b192999cf904bacd0262 to your computer and use it in GitHub Desktop.
A quick helper util for getting a misbehaving React Native environment back to normal.
alias clean-rn="watchman watch-del-all && rm -fr $TMPDIR/npm* && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && yarn cache clean && rm -rf ios/build && rm -rf ios/Pods && rm -rf android/.gradle && rm -rf android/.idea && rm -rf android/build && rm -rf android/app/build && rm -rf android/app/app.iml && yarn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment