Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2727)

Unified Diff: sdk/lib/_internal/pub/lib/src/command/serve.dart

Issue 110013003: Issue 15037. Warn users if they have “assets” dir anywhere inside “web” dir (http://dartbug.com/150… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Escape "\" in RegExps. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/build.dart ('k') | sdk/lib/_internal/pub/lib/src/entrypoint.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f6df4ce2fe875ac7821f58fbd8065b3c0286a705..f99df217e9a575e587ba7f772b0d6c1f00267582 100644
--- a/sdk/lib/_internal/pub/lib/src/command/serve.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/serve.dart
@@ -65,9 +65,7 @@ class ServeCommand extends PubCommand {
return flushThenExit(exit_codes.USAGE);
}
- return entrypoint.ensureLockFileIsUpToDate().then((_) {
- return entrypoint.loadPackageGraph();
- }).then((graph) {
+ return entrypoint.loadPackageGraph().then((graph) {
var builtInTransformers = [new DartForwardingTransformer(mode)];
if (useDart2JS) {
builtInTransformers.add(new Dart2JSTransformer(graph, mode));
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/build.dart ('k') | sdk/lib/_internal/pub/lib/src/entrypoint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698