diff --git a/jit/lib/setupContext.js b/jit/lib/setupContext.js index 479c8ad6078b..9b2e5d2dfa4e 100644 --- a/jit/lib/setupContext.js +++ b/jit/lib/setupContext.js @@ -36,7 +36,9 @@ const touchDir = if (!sharedState.env.TAILWIND_DISABLE_TOUCH) { if (fs.existsSync(touchDir)) { for (let file of fs.readdirSync(touchDir)) { - fs.unlinkSync(path.join(touchDir, file)) + try { + fs.unlinkSync(path.join(touchDir, file)) + } catch (_err) {} } } else { fs.mkdirSync(touchDir, { recursive: true })