Skip to content

Conversation

@eoinsha
Copy link
Contributor

@eoinsha eoinsha commented Jan 2, 2025

Existing assetExcludesoptions only applies to the rsync step in copying files to the docker container for building. The asset hashing, used to detect source changes, was still being applied to everything in the root directory.
This changes provides defaults (configurable) to exclude cdk, .venv, etc.

@eoinsha eoinsha requested a review from chrismcg January 2, 2025 17:03
Copy link
Contributor

@chrismcg chrismcg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a memory of trying something like this back in November and it not working for nested folders. I think it might have been before #5 though.

I assume you've seen improvements with this in your real world use cases?

@eoinsha
Copy link
Contributor Author

eoinsha commented Jan 7, 2025

Yes @chrismcg - tested and seems to work well

@eoinsha eoinsha merged commit 7f4d6bd into main Jan 7, 2025
6 checks passed
@eoinsha eoinsha deleted the fix/optimize-hashing branch January 7, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants