diff --git a/packages/flutter_tools/lib/src/devfs.dart b/packages/flutter_tools/lib/src/devfs.dart index 7aab766c5c..4ac4df27da 100644 --- a/packages/flutter_tools/lib/src/devfs.dart +++ b/packages/flutter_tools/lib/src/devfs.dart @@ -80,14 +80,14 @@ class ServiceProtocolDevFSOperations implements DevFSOperations { } String fileContents = BASE64.encode(bytes); try { - return await serviceProtocol.sendRequest('_writeDevFSFile', - { - 'fsName': fsName, - 'path': entry.devicePath, - 'fileContents': fileContents - }); + return await serviceProtocol.sendRequest('_writeDevFSFile', + { + 'fsName': fsName, + 'path': entry.devicePath, + 'fileContents': fileContents + }); } catch (e) { - print('failed on ${entry.devicePath} $e'); + printTrace('DevFS: Failed to write ${entry.devicePath}: $e'); } } diff --git a/packages/flutter_tools/lib/src/run.dart b/packages/flutter_tools/lib/src/run.dart index 43a357f025..959364dcff 100644 --- a/packages/flutter_tools/lib/src/run.dart +++ b/packages/flutter_tools/lib/src/run.dart @@ -345,9 +345,9 @@ class RunAndStayResident { }); } - printStatus('DevFS: Updating files on device...'); + Status devFSStatus = logger.startProgress('Updating files on device...'); await _devFS.update(); - printStatus('DevFS: Finished updating files on device...'); + devFSStatus.stop(showElapsedTime: true); return true; }