delete metro cache code example
Example 1: npm start reset cache
npm start -- --reset-cache
Example 2: watchman watch-del-all, and react-native start --reset-cache
watchman watch-del-all, and react-native start --reset-cache
Example 3: yarn start --reset-cache
watchman watch-del-all && rm -f yarn.lock && rm -rf node_modules && yarn && yarn start --reset-cache