When introducing a custom .babelrc, it's necessary to add the resetCache flag to the packager. This requires digging into node_modules and isn't the most developer friendly (DX anybody? :P)
So we should either allow users to do:
./node_modules/react-native/packager/packager.sh clean
or
./node_modules/react-native/packager/packager.sh -root . -clean
Also open to other solutions! cc @amasad
When introducing a custom
.babelrc, it's necessary to add the resetCache flag to the packager. This requires digging intonode_modulesand isn't the most developer friendly (DX anybody? :P)So we should either allow users to do:
./node_modules/react-native/packager/packager.sh cleanor
./node_modules/react-native/packager/packager.sh -root . -cleanAlso open to other solutions! cc @amasad