jlengstorf / netlify-plugin-gatsby-cache

185 stars 21 forks source link

Issue caching the `.cache` directory #10

Closed ehmicky closed 4 years ago

ehmicky commented 4 years ago

At the moment, this plugin caches PUBLISH_DIR/../.cache (PUBLISH_DIR was previously called BUILD_DIR). However when no "Publish directory" is set by the user, it defaults to the repository root directory.

This means the {repositoryRoot}/../.cache ends up being cached, which is probably not intended?

jlengstorf commented 4 years ago

if we fix #8 this will be resolved automatically — Gatsby always puts public and .cache next to each other

ehmicky commented 4 years ago

This turned out not to be an issue (see #8).