Index: sdk/lib/_internal/pub/lib/src/command/serve.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/command/serve.dart b/sdk/lib/_internal/pub/lib/src/command/serve.dart |
index bc6f0188f06c193902b53fb82c0e58f04375a8fb..46d4913b90c2a8a932a4397072e6aa434b838a51 100644 |
--- a/sdk/lib/_internal/pub/lib/src/command/serve.dart |
+++ b/sdk/lib/_internal/pub/lib/src/command/serve.dart |
@@ -120,16 +120,15 @@ class ServeCommand extends PubCommand { |
}); |
} |
- /// Installs dependencies is the lockfile is out of date with respect to the |
+ /// Gets dependencies if the lockfile is out of date with respect to the |
/// pubspec. |
Future ensureLockFileIsUpToDate() { |
return new Future.sync(() { |
- // The server relies on an up-to-date lockfile, so install first if |
- // needed. |
+ // The server relies on an up-to-date lockfile, so get first if needed. |
if (!entrypoint.isLockFileUpToDate()) { |
- log.message("Dependencies have changed, installing..."); |
- return entrypoint.installDependencies().then((_) { |
- log.message("Dependencies installed!"); |
+ log.message("Dependencies have changed, getting..."); |
nweiz
2013/10/07 21:25:15
Not super related to this CL, but can we make this
Bob Nystrom
2013/10/07 22:32:25
Done.
|
+ return entrypoint.getDependencies().then((_) { |
+ log.message("Got dependencies!"); |
}); |
} |
}); |