Index: bin/dartdevc.dart |
diff --git a/bin/dartdevc.dart b/bin/dartdevc.dart |
index df365eb467a3b9c174871fa30aa2ca724f070661..31fe287f30c5c9ece72b10eb6cfa92d74b89fd40 100755 |
--- a/bin/dartdevc.dart |
+++ b/bin/dartdevc.dart |
@@ -13,7 +13,6 @@ import 'package:dev_compiler/devc.dart' show devCompilerVersion; |
import 'package:dev_compiler/src/compiler.dart' |
show validateOptions, compile, setupLogger; |
import 'package:dev_compiler/src/options.dart'; |
-import 'package:dev_compiler/src/server/server.dart' show DevServer; |
const String _appName = 'dartdevc'; |
@@ -42,10 +41,6 @@ main(List<String> args) { |
} |
setupLogger(options.logLevel, print); |
- |
- if (options.serverMode) { |
- new DevServer(options).start(); |
- } else { |
- exit(compile(options) ? 0 : 1); |
- } |
+ bool success = compile(options); |
+ exit(success ? 0 : 1); |
} |