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

'hexo generate --watch' renders all files when one file changes, very slow #2991

Open
jakeg opened this issue Jan 23, 2018 · 1 comment
Open
Labels
enhancement New feature or request #perfmatters

Comments

@jakeg
Copy link

jakeg commented Jan 23, 2018

I have a project with ~1,000 .md files. When running hexo generate --watch --debug, if I edit and save just one .md file I see:

18:08:18.210 DEBUG Processed: blog/abc.md
18:08:19.272 DEBUG Generator: page
18:08:19.272 DEBUG Generator: post
18:08:19.276 DEBUG Generator: asset
18:08:19.382 DEBUG Rendering page: 404.html
18:08:19.384 DEBUG Rendering page: blah.html
... [all ~1,000 files are rendered here]
18:08:31.882 INFO  Generated: blog/abc.md

... 13s elapses in which all ~1,000 files are rendered but only 1 is 'generated'. Is this correct? I would expect to save the one file and only that 1 file is rendered and generated, in well under 1s instead of 13s.

@NoahDragon NoahDragon mentioned this issue Jan 30, 2018
53 tasks
@NoahDragon NoahDragon added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Jan 30, 2018
@stevenjoezhang
Copy link
Member

stevenjoezhang commented Nov 2, 2019

See also #2164, #2519

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request #perfmatters
Projects
None yet
Development

No branches or pull requests

4 participants