Created
August 3, 2020 15:45
-
-
Save mchandleraz/b9511beb5700c1d18e91187d549fbdb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* `cache-clean` clears watchman and npm caches, removes all `react` directories from the system TMP directory, and resets the React Native JS Packager cache. | |
* `cache-flush` is `cache-clean` + removes all npm modules from disk and re-installs with yarn. | |
"cache-clean": "watchman watch-del-all && rm -rf $TMPDIR/haste-map-react-native-packager-* && rm -rf $TMPDIR/react-* && yarn start -- --reset-cache", | |
"cache-flush": "watchman watch-del-all && rm -rf $TMPDIR/haste-map-react-native-packager-* && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && yarn cache clean && yarn && yarn start -- --reset-cache", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment