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

Only rebuild pages that have changed #1705

Closed
byrnereese opened this issue Dec 18, 2018 · 1 comment
Closed

Only rebuild pages that have changed #1705

byrnereese opened this issue Dec 18, 2018 · 1 comment

Comments

@byrnereese
Copy link

I utilize a plugin that makes API calls that adds latency to the page build process. When I am editing content while running mkdocs serve, each time I save a single edit it triggers a whole site rebuild.

Ideally, editing a .md file should only cause a rebuild of that single page, not every page in the whole repos.

@waylan
Copy link
Member

waylan commented Dec 18, 2018

You can enable this with the --dirtyreload option of the mkdocs serve command. See mkdocs serve --help for documentation on this and other options available.

Be aware that this could break the navigation on pages which have not been rebuilt. Therefore, it is not the default behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants