Add a refresh command that rebuilds the snapshot and reloads it on the device
This provides a fast way to iterate on changes to a Flutter app that only involve updates to Dart code and do not require a full build and install of the FLX and APK
This commit is contained in:
@@ -20,6 +20,7 @@ import 'src/commands/ios.dart';
|
||||
import 'src/commands/list.dart';
|
||||
import 'src/commands/listen.dart';
|
||||
import 'src/commands/logs.dart';
|
||||
import 'src/commands/refresh.dart';
|
||||
import 'src/commands/run_mojo.dart';
|
||||
import 'src/commands/start.dart';
|
||||
import 'src/commands/stop.dart';
|
||||
@@ -47,6 +48,7 @@ Future main(List<String> args) async {
|
||||
..addCommand(new ListCommand())
|
||||
..addCommand(new ListenCommand())
|
||||
..addCommand(new LogsCommand())
|
||||
..addCommand(new RefreshCommand())
|
||||
..addCommand(new RunMojoCommand())
|
||||
..addCommand(new StartCommand())
|
||||
..addCommand(new StopCommand())
|
||||
|
||||
Reference in New Issue
Block a user