isWatchModeEnabled abstract method

bool isWatchModeEnabled()

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

Example:

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

Implementation

bool isWatchModeEnabled();