WebSocket connection seems to be establish but no modules get refreshed.
Chrome console output:
client?ecf9:80 [WDS] App updated. Recompiling...
client?ecf9:223 [WDS] App hot update...
2client?ecf9:80 [WDS] App updated. Recompiling...
client?ecf9:223 [WDS] App hot update...
2client?ecf9:80 [WDS] App updated. Recompiling...
client?ecf9:223 [WDS] App hot update...
2client?ecf9:80 [WDS] App updated. Recompiling...
client?ecf9:223 [WDS] App hot update...
2client?ecf9:80 [WDS] App updated. Recompiling...
client?ecf9:223 [WDS] App hot update...
Notice the multiple recompiles on every change.
答案 0 :(得分:0)
@ faceyspacey.com在编码器上帮助了我。
由于根组件中的循环依赖性,React Hot Loader未更新模块。要解决此类问题,@ faceyspacey.com建议暂时将热负载标记向下移动到组件树中较低的组件。
面临类似症状的人可能会发现此Q& A也很有用: https://docs.python.org/2/library/logging.html