Merge pull request #4987 from johnmccutchan/hot_mode_tweaks

Tweaks to --hot mode
This commit is contained in:
John McCutchan 2016-07-21 11:08:12 -07:00 committed by GitHub
commit 2e1a89cf45
2 changed files with 9 additions and 9 deletions

View File

@ -87,7 +87,7 @@ class ServiceProtocolDevFSOperations implements DevFSOperations {
'fileContents': fileContents 'fileContents': fileContents
}); });
} catch (e) { } catch (e) {
print('failed on ${entry.devicePath} $e'); printTrace('DevFS: Failed to write ${entry.devicePath}: $e');
} }
} }

View File

@ -345,9 +345,9 @@ class RunAndStayResident {
}); });
} }
printStatus('DevFS: Updating files on device...'); Status devFSStatus = logger.startProgress('Updating files on device...');
await _devFS.update(); await _devFS.update();
printStatus('DevFS: Finished updating files on device...'); devFSStatus.stop(showElapsedTime: true);
return true; return true;
} }