-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
--incremental=filename.md
for incremental build without --watch
or --serve
#3324
Comments
--incremental
is ignored when --watch
is not present--incremental=filename.md
for incremental build without --watch
or --serve
v3.0.0-alpha.14 will include support for |
Work based on the More background here: https://www.11ty.dev/docs/plugins/serverless/#compile-the-data-cascade-for-the-project |
Example output from https://github.com/zachleat/zachleat.com:
|
Subscribe to #984 for full cold-start incremental support! |
…endency mapping between templates for incremental builds.
Filed related issue for |
hmmmm to get this working with wireit I need to manually figure out that list of changed files |
@deebloo can you file an enhancement request? I’m curious if |
@zachleat maybe I am confused then. --incremental=filename only builds that one file right? I was thinking I would need to pass a list of files to 11ty. |
@deebloo Ah, no—we’ll generate the dependency map for the file and build the known dependency files too. |
gotcha, but if I had two disparate files I would need to do both right? so a.liquid and b.liquid and they had nothing to do with on another. I guess maybe that is my question. When I have multiple pages, do I need to pass those multiple entry files to --incremental? |
gotcha I understand now, thanks! it looks like there are other issues that would handle my use-case |
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.The text was updated successfully, but these errors were encountered: