Skip to content

Instantly share code, notes, and snippets.

@cheshirecode
Created June 28, 2018 09:37
Show Gist options
  • Save cheshirecode/f8ca96c9864adfc35ba610e71ffc8f05 to your computer and use it in GitHub Desktop.
Save cheshirecode/f8ca96c9864adfc35ba610e71ffc8f05 to your computer and use it in GitHub Desktop.
Clean up RN project, cache and node_modules
#!/bin/sh
watchman watch-del-all
rm -rf $TMPDIR/react-native-packager-cache-*
rm -rf $TMPDIR/metro-bundler-cache-*
rm -rf /tmp/haste-map-react-native-packager-*
rm -rf node_modules/ **/node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment