From f9b4eb4f3968d32f45e0168c854e6b0c7f3a90b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 23 Nov 2018 09:16:42 +0100 Subject: Handle themes in the new file cache (for images, assets) In the newly consolidated file cache implementation, we forgot that we also look in the theme(s) for assets (SCSS transformations etc.), which is not good for Netlify and the demo sites. Fixes #5460 --- deps/deps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps/deps.go') diff --git a/deps/deps.go b/deps/deps.go index a1b54a862..de6d8b52a 100644 --- a/deps/deps.go +++ b/deps/deps.go @@ -193,7 +193,7 @@ func New(cfg DepsCfg) (*Deps, error) { return nil, err } - fileCaches, err := filecache.NewCachesFromPaths(ps.Paths) + fileCaches, err := filecache.NewCaches(ps) if err != nil { return nil, errors.WithMessage(err, "failed to create file caches from configuration") } -- cgit v1.2.3