pub serve should show build errors in the browser #1015
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
<img src="https://avatars.githubusercontent.com/u/522948?v=3" align="left" width="96" height="96"hspace="10"> Issue by justinfagnani
Originally opened as dart-lang/sdk#19490
If 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.
When 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.
The text was updated successfully, but these errors were encountered: