dart-sdk/sdk
floitsch@google.com 8e7e2e621c pub: don't start the admin server if no --admin-port flag was given.
`pub serve` used to bind its admin port to the port below the main port. For example `pub serve --port=8081` would automatically bind its admin port to 8080.
With this change the admin server is only started if an --admin-port flag was provided.

BUG= http://dartbug.com/20922
R=rnystrom@google.com

Committed: https://code.google.com/p/dart/source/detail?r=45614
Reverted: https://code.google.com/p/dart/source/detail?r=45633

Review URL: https://codereview.chromium.org//1126403002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45675 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-09 02:08:33 +00:00
..
bin Analyzer build updates to use analyzer_cli. 2015-04-21 20:59:31 +00:00
lib pub: don't start the admin server if no --admin-port flag was given. 2015-05-09 02:08:33 +00:00
api_readme.md add a readme for the api docs 2015-04-02 17:49:14 +00:00