aghadiry / serverless-cloudfront-invalidate

Serverless plugin that allows you to invalidate Cloudfront Cache
MIT License
29 stars 22 forks source link

Does not invalidate main.js #14

Open wangwalton opened 4 years ago

wangwalton commented 4 years ago

Do I need to add every single file under items? Does this plug in check if a file has since been updated and the conditionally invalidate?

items:

tschoffelen commented 4 years ago

It is not able to conditionally check for updated files, but you can specify a pattern.

Ie. /* will match all files.