Live deploy as a nightly version

I've added the live deploy option as a nightly version. This future is enabled by setting the "live-deploy-mode" flag to true.

review @devoncarew @ussuri
That, or something like:

Notifier notifier = Dependencies.dependency[Notifier];

notifier.showMessage(title, message);




On Fri, Sep 5, 2014 at 2:54 PM, Albu Alexandru <notifications@github.com>
wrote:

> In ide/web/lib/mobile/deploy.dart:
>
> > +    LiveDeployManager._internal();
> > +
> > +    Future _liveDeploy(Container deployContainer) {
> > +      ProgressMonitor _monitor = new ProgressMonitor();
> > +      MobileDeploy deployer = new MobileDeploy(deployContainer, localPrefs);
> > +
> > +      // Invoke the deployer methods in Futures in order to capture exceptions.
> > +      Future f = new Future(() {
> > +        return deployer.pushAdb(_monitor);
> > +      });
> > +
> > +      return _monitor.runCancellableFuture(f).then((_) {
> > +        setDeploymentTime(deployContainer,
> > +            (new DateTime.now()).millisecondsSinceEpoch);
> > +      }).catchError((e) {
> > +      }).whenComplete(() {
>
> I am not sure how can I access spark.showErrorMessage from the
> LiveDeployManager class.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dart-lang/chromedeveditor/pull/3330/files#r17200542>.
>



-- 
Devon Carew
Software Engineer
Google, Inc.