Skip to content

Commit

Permalink
fix(gatsby): clear cache before refresh (#19159)
Browse files Browse the repository at this point in the history
  • Loading branch information
macko911 authored and GatsbyJS Bot committed Nov 4, 2019
1 parent 0471751 commit 4d5d780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/cache-dir/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const navigate = (to, options = {}) => {
navigator.serviceWorker.controller.state === `activated`
) {
navigator.serviceWorker.controller.postMessage({
gatsbyApi: `resetWhitelist`,
gatsbyApi: `clearPathResources`,
})
}

Expand Down

0 comments on commit 4d5d780

Please sign in to comment.