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

Build only files that have changed #825

Closed
jaime8111 opened this issue Dec 16, 2019 · 2 comments
Closed

Build only files that have changed #825

jaime8111 opened this issue Dec 16, 2019 · 2 comments

Comments

@jaime8111
Copy link

Every time a build my site with 11ty all the files are built again, even if they have no changed since the last build process.

I have a Google Cloud rsync process to upload all the files that have changed to my production environment. Now Google thinks that all the files have changed every time i build the site, because the date of the files are newer.

The expected behavior is that 11ty detect if each file is on the destiny folder, compare them, and only update it if their content is different.

Is it possible to do it now? If not, anyone knows any gulp process to get this done. Maybe to build on a temporal folder, and then compare the content of every file on temporal and build folder?

Thanks!

@DirtyF
Copy link
Contributor

DirtyF commented Dec 16, 2019

Duplicate of #108

@zachleat
Copy link
Member

Thanks @DirtyF! Yep this is a dupe, sorry! Follow along at #108

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

No branches or pull requests

3 participants