Skip to content

Instantly share code, notes, and snippets.

@brampersandon
Last active January 7, 2019 15:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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