'Flutter performing hot restart instead of hot reload
I just updated my flutter folder from 2.15 to 3.0. My app runs fine but there's a big problem: when I do CTRL+S, instead of reload my current page to see the changes, it's restarting my whole app, which is extremely annoying. This didn't happen until the upgrade so thought it was a problem of Flutter 3.0. But I downgraded to the version 2.15 and it keeps restarting instead of reloading. Here's my "flutter doctor":
[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Versión 10.0.19041.264], locale es-AR)
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2020.3)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.67.1)
[√] Connected device (3 available)
[√] HTTP Host Availability
I also tried running "flutter clean" and "flutter pub get" but it's the same. It says "Performing hot reload" but it actually performs a full restart. I can't work anymore like this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|