hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
39.28k stars 4.83k forks source link

本地更新过的页面,上传到Heroku时会被识别成没有改变 #1153

Closed tongda closed 8 years ago

tongda commented 9 years ago

在本地对标签作了修改,本地hexo server也能看到更新,但是执行hexo d -g上传到在heroku后,就看不到标签,对应标签的页面也没有更新。

感觉好像是对比页面是否修改上传的逻辑有些问题,有人遇到过类似情况么?

Xuanwo commented 9 years ago

hexo clean试试看

tongda commented 9 years ago

hexo clean过了,本地hexo server看都是好的,但是部署上去,页面就是不对。感觉可能git同步的问题,有些文件没有识别出已修改。那些tag是我后加上去的,会不会是这个原因?

Xuanwo commented 9 years ago

什么叫本地对标签进行了修改?你直接修改了HTML页面?

tongda commented 9 years ago

就是一个post没加tag,我写完就传上去了,然后我发现没加标签,就加上了一个tag。

运行hexo generate之后,hexo server可以看到那个标签,也可以打开标签的页面。

但是,运行hexo deploy,在网站上就找不到标签了。

Xuanwo commented 9 years ago

重置一下heroku然后看看效果呢? 我没有用过heroku,不知道具体的情况,但是感觉并不是git的问题。

Xuanwo commented 8 years ago

Hello, any update?

leesei commented 8 years ago

Please open new issue if the problem persists with latest build.

reverland commented 8 years ago

@xuanWo i think it may just because the cache of the browser. And just experieced some latency today with gitcafe tiday