Skip to content

Only rebuild pages that have changed #1705

Closed

Description

@byrnereese

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.

Activity

  1. waylan commented on Dec 18, 2018

    @waylan
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions