mern-starter
mern-starter copied to clipboard
Hot reload fails after fixing syntax error
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.