From 6480beaeac7839e2e86d810e72935d29a4655a2f Mon Sep 17 00:00:00 2001 From: Joel Varty Date: Mon, 18 Jan 2021 12:45:50 -0500 Subject: [PATCH] rootpath fix --- framework/agility/agility.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/agility/agility.config.js b/framework/agility/agility.config.js index 02bc36e28..2abce740b 100644 --- a/framework/agility/agility.config.js +++ b/framework/agility/agility.config.js @@ -52,6 +52,7 @@ const getSyncClient = ({ isPreview, isDevelopmentMode, isIncremental }) => { const prepIncrementalMode = async () => { + const rootPath = process.cwd() let cachePath = `${rootPath}/.next/cache/agility/`; const tempPath = `/tmp/agilitycache/`;