diff --git a/src/lib/setupContext.js b/src/lib/setupContext.js index c2a4133..6d69571 100644 --- a/src/lib/setupContext.js +++ b/src/lib/setupContext.js @@ -31,8 +31,8 @@ let env = sharedState.env // Earmarks a directory for our touch files. // If the directory already exists we delete any existing touch files, // invalidating any caches associated with them. - -const touchDir = path.join(os.homedir() || os.tmpdir(), '.tailwindcss', 'touch') +const touchDir = + process.env.TAILWIND_TOUCH_DIR || path.join(os.homedir() || os.tmpdir(), '.tailwindcss', 'touch') if (fs.existsSync(touchDir)) { for (let file of fs.readdirSync(touchDir)) {