hotReload property

bool get hotReload

Flag to set hot reload from now on.

Implementation

// ignore: unnecessary_getters_setters
static bool get hotReload => _hotReload;
set hotReload (bool hotReload)

Once set, it will always hot reload.

Implementation

// ignore: unnecessary_getters_setters
static set hotReload(bool hotReload) {
  // It doesn't accept false.
  // i.e. Once true, it stays true.
  if (!hotReload) {
    return;
  }
  _hotReload = hotReload;
}