svelte-hmr
svelte-hmr copied to clipboard
Make sure to display the error message on overlay
as some errors might be passed to addError with a stack attribute not including the error message
Hi! Thanks for your interest in making svelte-hmr better, but to be honest this overlay is kind of headed toward the exit door. It surely won't make it to the next major version of svelte-hmr.
I am curious about your use case, though. The overlay is disabled with Vite, so are you using Webpack? Rollup? And how is this specific overlay useful to you? (Or annoying, since apparently it eats your error message? :sweat_smile: )
I work on a project where we are sticking with webpack, as we are still phasing out our Backbone+Handlebars legacy code in favor of Svelte, and thus still use svelte-loader during the transition. The overlay is then quite useful to get a quick feedback on failing code; that is, unless it eats error messages indeed ^^