Thanks to visit codestin.com
Credit goes to github.com

Skip to content

--incremental=filename.md for incremental build without --watch or --serve #3324

@LeaVerou

Description

@LeaVerou

Not sure if this is a bug or a feature request. The --incremental flag is a wonderful thing: instead of rebuilding a whole site, it rebuilds only the files relevant to the one that changed. However, it seems to only be available when running in watch mode. I’ve often needed to only periodically rebuild; I save often and running the watcher often makes my system veeeery sloooow after a while, especially since I have many 11ty websites that I often edit in parallel. However, this also means I lose access to this wonderful feature: even if I were willing to manually specify the file that changed, there is no way to do so.

It would be great if --incremental worked without --watch. It could automatically detect which files have changed by storing the last time it ran somewhere and comparing timestamps. Or, worst case, even if it allowed providing a glob or filename manually, it would still be an immense help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions