Hashnode/mern-starter

Hot reload fails after fixing syntax error

u0078867 opened this issue · 2 comments

This happens even with the proposed patch of static requires in the routes file.
It is claimed that webpack 2.2.0+ fixes the bug, but config files need some major editing. A quick and dirty workaround is to include the plugin webpack.NoErrorsPlugin.

We're planning to update to webpack V4 in V2.6.0 so this should be handled through the update.

Indeed, that is definitely fixed in webpack 4.