Is it possible to enable hot reload on iOS and Android simulators simultaneously?

977

Solution 1

I suppose this happens only when run from IDE. Try starting both simulators and run app from command line interface.

To run app from terminal on all simulators: flutter run -d all

For hot reload press r key on keyboard

Solution 2

For visual studio code users ; you can create 2 launch task. Launch the first one on a device, and the second on the other one.

Debug will work simultaneously on both. Even breakpoints.

Share:
977
Ilja
Author by

Ilja

That dev at the local ☕️ shop sipping on late.

Updated on December 03, 2022

Comments

  • Ilja
    Ilja over 1 year

    I've set up flutter with IntelliJ and got to the point where demo app is running on both simulators, however hot reload seems to be only updating one of them, is it possible to update both at the same time? Here is example of the issue in action

    enter image description here