You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Hot Module Replacement (HMR) fails due to a compilation error, the current error message is minimal and doesn't provide enough context to quickly debug the issue.
When Hot Module Replacement (HMR) fails due to a compilation error, the current error message is minimal and doesn't provide enough context to quickly debug the issue.
Current behavior
Proposed behavior
According to the Chrome DevTools Protocol (https://chromedevtools.github.io/devtools-protocol/v8/Debugger/), we can access more detailed error information through
Runtime.ExceptionDetails
when the status isCompileError
.Proposed Enhancement
Include the exception details from
Runtime.ExceptionDetails
in the HMR error message to help developers quickly identify and fix compilation issues.The text was updated successfully, but these errors were encountered: