anchor.diff:        }
       }
   
  -    static startLiveDeploy(Project currentProject) {
  -        _singleton._init(currentProject);
  +    static startLiveDeploy(Project currentProject,
  +        {void onError(var exception)}) {
  +      _singleton._init(currentProject);
  +      _singleton._onError = onError;
       }
   
       LiveDeployManager._internal();
   
       Future _liveDeploy(Container deployContainer) {
         ProgressMonitor _monitor = new ProgressMonitor();
  -      MobileDeploy deployer = new MobileDeploy(deployContainer, localPrefs);
  +      MobileDeploy deployer = new MobileDeploy(deployContainer, _localPrefs);
   
         // Invoke the deployer methods in Futures in order to capture exceptions.
         Future f = new Future(() {
  
positive.code: import '../workspace_utils.dart';
  import '../apps/app_utils.dart';
  import '../spark_flags.dart';
  import '../../spark.dart';
  
  Logger _logger = new Logger('spark.deploy');
  PreferenceStore get localPrefs => localStore;
  
  class DeviceInfo {
    final int vendorId;
  
negative.code:         setDeploymentTime(deployContainer,
              (new DateTime.now()).millisecondsSinceEpoch);
        }).catchError((e) {
          _onError('Error During Live Deployment', exception: e);
        }).whenComplete(() {
          _monitor = null;
        });
  