From 765bec374805efa40aea5a61d0309f42df681b45 Mon Sep 17 00:00:00 2001 From: dariomac Date: Tue, 9 Apr 2019 13:24:35 -0300 Subject: [PATCH] Just call cachedMakeHash with the absFilePath to warmup the cache --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index baf1549..3c1456d 100644 --- a/index.js +++ b/index.js @@ -64,6 +64,7 @@ const staticify = (root, options) => { buildVersionHash(absFilePath, root, vers); // Whee! } else if (stat.isFile()) { vers[`/${path.posix.relative(root, absFilePath)}`] = {absFilePath}; + cachedMakeHash(absFilePath); // Just to warm-up cache } });