adobe-photoshop / generator-assets

Generator Plug-in for Adobe Photoshop CC that helps users export image assets
MIT License
496 stars 86 forks source link

Allow imageChanged events with generatorSettings to clear the document from cache #444

Closed mcilroyc closed 6 years ago

mcilroyc commented 6 years ago

This is a follow up to #443 which introduced a new bug that prevents generatorSettings updates from clearing the cached document. This only affects crema (Export As) which operates in clearCacheOnChange mode.

This PR just narrows down the set of imageChanged events which are treated as safe to: metaDataOnly except when generatorSettings are included

This seems fairly rational, I think, that generatorSettings are special cases.

shaoshing commented 6 years ago

LGTM! Thanks