Expo App restarts when I switch between files in VSCode

Expo CLI 3.28.5 environment info:
OS: Windows 10 10.0.19042
Node: 14.15.0 - C:\Users\DAVID\AppData\Roaming\npm\node.CMD
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 7.0.3 - C:\Program Files\nodejs\npm.CMD
Android SDK:
API Levels: 30
Build Tools: 30.0.2
System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64
Android Studio: Version AI-201.8743.12.41.6953283
expo: ^39.0.0 => 39.0.4
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz => 0.63.2
react-native-web: ~0.13.7 => 0.13.18
Expo Workflow: managed

Help, I have a weird issue with my development when working on a react native project using expo.
I use VSCode for development and I use a separate cmd window to run yarn start to startup the metro bundler.
When the metro bundler starts I open the Expo Client on my mobile device or android emulator.
Then I open my project in VSCode to to begin editing.
The issue is that when I switch from Component1.js file to Component2.js while Component1.js is being rendered on the mobile device or emulator the entire app restarts during the fast refresh project.
I have tried to disable fast refresh and that is the only time the issue does not occur.
But I really cannot develop with the fast refresh feature turned on.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.