flutterHotReload function

void flutterHotReload()

Implementation

void flutterHotReload() {
  if (which('flutter').found) {
    trace('Running `flutter pub get`...');
    'flutter pub get'.start(
      workingDirectory: configProjectDir,
      detached: true,
      runInShell: true,
    );
  }
}