Skip to content

Instantly share code, notes, and snippets.

@minhcasi
Last active April 7, 2020 07:33
Show Gist options
  • Save minhcasi/cff0b1519217c06f4fb7986c2d044c5e to your computer and use it in GitHub Desktop.
Save minhcasi/cff0b1519217c06f4fb7986c2d044c5e to your computer and use it in GitHub Desktop.
React Native CleanCache

Clean Cache on Window

watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache

Clean Cache on macOs

watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment