rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && npm cache clean --force && npm cache verify && rm -rf ios/build && rm -rf node_modules/ && npm i
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro* && rm -rf $TMPDIR/haste
rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && npm cache clean --force && npm i
watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
rm -fr $TMPDIR/react-*
rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean
rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache clean && npm i
"start": "node node_modules/react-native/local-cli/cli.js start"
"rc-start": "npm start -- --reset-cache"
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean"
"clean-start": "npm run clean && npm run rc-start"
"fresh-install": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache clean && npm install"
"fresh-start" : "npm run fresh-install && npm run rc-start"
Last active
October 1, 2018 16:16
-
-
Save Sadmansamee/3d20aa9b13319cffa8f28cdc70f38015 to your computer and use it in GitHub Desktop.
React Native clear cache
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment