cdharris / react-app-rewire-hot-loader

Adds the react-hot-loader to your create-react-app via react-app-rewired

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable "Failed to Compile" messages?

mikecann opened this issue · comments

image

Nice work on this! Works great with CRA and Typescript.

There is one slight hiccup however, if you have a compilation error then it (webpack I think) emits a "Failed To Compile" message to the browser which seems to break the hot-reloading, meaning that a full page refresh is needed once you have fixed your compilation issue.

Im wondering is there a way to prevent it from emitting that failed to compile message so hot reloading still works once you have fixed your compile error?