baker icon indicating copy to clipboard operation
baker copied to clipboard

Is it possible to inject error logs into the browser?

Open rdmurphy opened this issue 5 years ago • 1 comments

I've seen it done before with a few tools.

create-react-app has this error-overlay library which is terribly convoluted but gets the job done. Wonder if we could raid it for parts to pull this off?

rdmurphy avatar Dec 31 '19 19:12 rdmurphy

May be best as a feature of mini-sync honestly. Provide a way to "send" browser messages via the mini-sync client and could just barf out the error frame. BrowserSync had a version of this with bs-fullscreen-message — it wasn't pretty, but it worked for the most part.

rdmurphy avatar Dec 31 '19 20:12 rdmurphy