Dva: webstorm 的热更新问题

Created on 23 May 2017  ·  6Comments  ·  Source: dvajs/dva

roadhog配置如下
image
每次改动iterm显示的重新compile
image

每次改完了页面却不刷新,不知道是否是端口问题,如何修改呢?

faq

Most helpful comment

safe write是要勾掉啊,不是勾上

All 6 comments

你用的webstorm吗,它保存临时文件的方式不一样:

https://stackoverflow.com/questions/34213253/webpack-watch-not-working-on-webstorm-on-windows

@xufei os系统 用的idea 前端编译后的文件是放在8000端口上的,然后ftl文件里面引用路径就是放dist文件的路径。每次改动倒是能够重新compile,就是页面不刷新QAQ。

@xufei 这项也勾选了,还是不生效
image

safe write是要勾掉啊,不是勾上

换其他编辑器,webstorm热更新确实有问题

马克

Was this page helpful?
0 / 5 - 0 ratings