{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/743","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/743/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/743/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/743/events","html_url":"https://github.com/dart-lang/pub/issues/743","id":85644484,"number":743,"title":"can't run pub serve after latest update","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Priority-High","name":"Priority-High","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-05T22:13:30Z","updated_at":"2015-06-05T22:13:31Z","closed_at":null,"body":"<a href=\"https://github.com/zoechi\"><img src=\"https://avatars.githubusercontent.com/u/405837?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [zoechi](https://github.com/zoechi)**\n_Originally opened as dart-lang/sdk#15279_\n\n----\n\n**What steps will reproduce the problem?**\n**1.**\n(Darteditor not running)\npub serve --port 3031\n**2.**\n$ pub serve --port 3031\nUncaught Error: Bad state: Cannot add new events after calling close\nStack Trace: \n#&#173;0      \\_BroadcastStreamController.addError (dart:async/broadcast_stream_controller.dart:222)\n#&#173;1      \\_LinuxDirectoryWatcher._watchSubdir.&lt;anonymous closure&gt; (package:watcher/src/directory_watcher/linux.dart:134)\n#&#173;2      \\_rootRunBinary (dart:async/zone.dart:708)\n#&#173;3      \\_RootZone.runBinary (dart:async/zone.dart:828)\n#&#173;4      \\_BaseZone.runBinaryGuarded (dart:async/zone.dart:554)\n#&#173;5      \\_BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:353)\n#&#173;6      \\_BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:369)\n#&#173;7      \\_DelayedError.perform (dart:async/stream_impl.dart:596)\n#&#173;8      \\_StreamImplEvents.handleNext (dart:async/stream_impl.dart:701)\n#&#173;9      \\_PendingEvents.schedule.&lt;anonymous closure&gt; (dart:async/stream_impl.dart:661)\n#&#173;10     \\_asyncRunCallback (dart:async/schedule_microtask.dart:18)\n#&#173;11     \\_createTimer.&lt;anonymous closure&gt; (dart:async-patch/timer_patch.dart:11)\n#&#173;12     \\_Timer._createTimerHandler._handleTimeout (timer_impl.dart:153)\n#&#173;13     \\_Timer._createTimerHandler.&lt;anonymous closure&gt; (timer_impl.dart:168)\n#&#173;14     \\_RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:95)\n\n\nUnhandled exception:\nBad state: Cannot add new events after calling close\n#&#173;0      \\_rootHandleUncaughtError.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (dart:async/zone.dart:677)\n#&#173;1      \\_asyncRunCallback (dart:async/schedule_microtask.dart:18)\n#&#173;2      \\_asyncRunCallback (dart:async/schedule_microtask.dart:21)\n#&#173;3      \\_createTimer.&lt;anonymous closure&gt; (dart:async-patch/timer_patch.dart:11)\n#&#173;4      \\_Timer._createTimerHandler._handleTimeout (timer_impl.dart:153)\n#&#173;5      \\_Timer._createTimerHandler._handleTimeout (timer_impl.dart:161)\n#&#173;6      \\_Timer._createTimerHandler._handleTimeout (timer_impl.dart:161)\n#&#173;7      \\_Timer._createTimerHandler.&lt;anonymous closure&gt; (timer_impl.dart:168)\n#&#173;8      \\_RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:95)\n**3.**\n\n**What is the expected output? What do you see instead?**\nshould work\n\n**What version of the product are you using? On what operating system?**\nDart VM version: 1.0.1.1_r30601 (Fri Nov 22 17:38:17 2013) on &quot;linux_x64&quot;\n\n**Please provide any additional information below.**\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109457383","html_url":"https://github.com/dart-lang/pub/issues/743#issuecomment-109457383","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/743","id":109457383,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:13:31Z","updated_at":"2015-06-05T22:13:31Z","body":"<a href=\"https://github.com/iposva-google\"><img src=\"https://avatars.githubusercontent.com/u/5449880?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [iposva-google](https://github.com/iposva-google)**\n\n----\n\n*Added [Area-Pub](../labels/Area-Pub), [Triaged](../labels/Triaged) labels.*\n"}}