{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/1015","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/1015/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/1015/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/1015/events","html_url":"https://github.com/dart-lang/pub/issues/1015","id":85645549,"number":1015,"title":"pub serve should show build errors in the browser","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/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/Pub-Serve","name":"Pub-Serve","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:20:10Z","updated_at":"2015-06-05T22:20:11Z","closed_at":null,"body":"<a href=\"https://github.com/justinfagnani\"><img src=\"https://avatars.githubusercontent.com/u/522948?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [justinfagnani](https://github.com/justinfagnani)**\n_Originally opened as dart-lang/sdk#19490_\n\n----\n\nIf you try to load an asset from pub serve that fails to build because of an error you see a fairly unhelpful 404 message. It would be much better if pub could remember which errors occurred for which assets and show them in its response.\n\nWhen used form the Editor, the build error message can be lost in the quite verbose tools output, leading one to try to figure out why the Editor is getting a 404 for a file that's clearly present - you're editing it after all. This is a pretty bad overall user experience."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109459834","html_url":"https://github.com/dart-lang/pub/issues/1015#issuecomment-109459834","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/1015","id":109459834,"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:20:11Z","updated_at":"2015-06-05T22:20:11Z","body":"<a href=\"https://github.com/nex3\"><img src=\"https://avatars.githubusercontent.com/u/188?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [nex3](https://github.com/nex3)**\n\n----\n\n*Removed [Type-Defect](../labels/Type-Defect) label.*\n*Added [Type-Enhancement](../labels/Type-Enhancement) label.*\n"}}