Search code examples
react-nativeexpo

Fast Refresh and Console Logs not showing Development Build Expo


I followed the docs for my physical android device. I set up a new clean folder, created a new my app project, and followed all the steps. Build was completed successfully without issues, however, fast reload doesn't work when I launch the app, and logs don't appear either.

Previously when developing in Expo Go for my actual project, I could see real time changes and logs, but when I uploaded that project to eas, I encountered the same issues, plus bugs. The same applies to the current example app (Without bugs)

I did npx expo start --tunnel to launch my project. I've also tried connecting with usb cable, but that doesn't work either. I used all default settings when setting up build. Build completed with no errors.


Solution

  • --tunnel

    is the culprit. Seems like this is specifically a Windows 11 issue. To fix:

    1. Go to Wifi Settings -> CLick on your wifi properties -> Switch to private network
    2. Configure firewall and security settings -> Disable firewall

    After this just run

    npx expo start

    without any additional args and it should work. Logs are showing just fine - Fast reload too!