Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于文件重复加载的问题 #8

Open
soulteary opened this issue Sep 21, 2016 · 0 comments
Open

关于文件重复加载的问题 #8

soulteary opened this issue Sep 21, 2016 · 0 comments
Labels

Comments

@soulteary
Copy link

soulteary commented Sep 21, 2016

你好,我尝试在hexo generate之前对文件进行了一些额外的修改:去掉文件日期标题等描述/自定义的归档目录等,并在文件被修改的时候,同步至hexo,此时,如果hexo处于watch状态,第一次运行hexo server的时候,必定出错,错误一定为第一个文件已经存在。

重新执行一次hexo s可以正常的继续使用hexo,或者索性把代码中读取本地缓存的部分干掉也能达到类似的效果,然而上面的方式都是治标不治本的,请问是否考虑处理掉这个问题呢?

https://github.com/hexojs/hexo/blob/master/lib/plugins/processor/asset.js#L78

@tcrowe tcrowe added the bug label Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants