Skip to content

Instantly share code, notes, and snippets.

@arshidkv12
Created October 23, 2018 06:02
Show Gist options
  • Save arshidkv12/9530fb224e7b78990b74f07f55b86fd0 to your computer and use it in GitHub Desktop.
Save arshidkv12/9530fb224e7b78990b74f07f55b86fd0 to your computer and use it in GitHub Desktop.
clean react native cache
function rn-clean() {
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/haste-*
rm -rf $TMPDIR/metro-*
npm start -- --reset-cache
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment