Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/gatsby-adapter-netlify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const createNetlifyAdapter: AdapterInit<INetlifyAdapterOptions> = options => {
`[gatsby-adapter-netlify] using @netlify/cache-utils restore`
)
return await utils.restore(directories)
reporter.info(
`[gatsby-adapter-netlify] Found a Gatsby cache. We're about to go FAST. ⚡`
)
}

return false
Expand All @@ -50,6 +53,9 @@ const createNetlifyAdapter: AdapterInit<INetlifyAdapterOptions> = options => {
`[gatsby-adapter-netlify] using @netlify/cache-utils save`
)
await utils.save(directories)
reporter.info(
`[gatsby-adapter-netlify] Stored the Gatsby cache to speed up future builds. 🔥`
)
}
},
},
Expand Down