Skip to content

Instantly share code, notes, and snippets.

@shukerullah
Created July 24, 2018 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shukerullah/44904c14a8fc21c44bc2878c619cf7d5 to your computer and use it in GitHub Desktop.
Save shukerullah/44904c14a8fc21c44bc2878c619cf7d5 to your computer and use it in GitHub Desktop.
React-Native clear Watchman + Cache (npm & yarn)
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && yarn cache clean && yarn install && yarn start --reset-cache
@shukerullah
Copy link
Author

shukerullah commented Nov 17, 2020

Clear watchman, react, node_modules, npm, yarn, & CocoaPods cache and then re-install node_modules & pods.

watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && yarn cache clean && rm -rf ~/Library/Caches/CocoaPods && rm -rf ios/Pods && rm -rf ~/Library/Developer/Xcode/DerivedData/* && yarn install && cd ios && pod install && cd .. && yarn start --reset-cache

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