isWatchModeEnabled method

  1. @override
bool isWatchModeEnabled()
inherited

Returns true if the application is running in watch / hot-reload mode.

Example:

if (env.isWatchModeEnabled()) {
  print('Hot reload active');
}

Implementation

@override
bool isWatchModeEnabled() => _watchModeEnabled;