I had a bug "unexpected token '<<', no stack"
After research, I decided to use this bash script
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle
It worked and the error went, but now when I run dev it doesn't update my code and I need to run the bash script again and again and again and again and again. Please help.