Special cases

The next sections describe specific scenarios that involve
hot reload. In some cases, small changes to the Dart code
enable you to continue using hot reload for your app.
In other cases, a hot restart, or a full restart is needed.

An app is killed

Hot reload can break when the app is killed.
For example, if the app was in the background for too long.

Compilation errors

When a code change introduces a compilation error,
hot reload generates an error message similar to:

In this situation, simply correct the errors on the
specified lines of Dart code to keep using hot reload.

CupertinoTabView’s builder

Hot reload won’t apply changes made to
a builder of a CupertinoTabView.
For more information, see Issue 43574.

Enumerated types