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.
Not sure if this is a bug or a feature request. The
--incrementalflag 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
--incrementalworked 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.