webpack --watch會產生*.hot-update.json檔案,解決方法如下:
output: { path: path.join(root, "dist"), filename: "bundle.js", hotUpdateChunkFilename: 'hot/hot-update.js', hotUpdateMainFilename: 'hot/hot-update.json' }
出處:https://github.com/gaearon/react-hot-loader/issues/456