Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed May 21, 2021
1 parent 678eaae commit d935f58
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/jit/lib/setupWatchingContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,27 +213,6 @@ function getContext(configOrPath, tailwindDirectives, registerDependency, root,
return context
}

// function cleanMe(tailwindDirectives, context, registerDependency) {
// if (tailwindDirectives.size > 0) {
// // Register our temp file as a dependency — we write to this file
// // to trigger rebuilds.
// if (context.touchFile) {
// registerDependency(context.touchFile)
// }
//
// // If we're not set up and watching files ourselves, we need to do
// // the work of grabbing all of the template files for candidate
// // detection.
// if (!context.scannedContent) {
// let files = fastGlob.sync(context.candidateFiles)
// for (let file of files) {
// context.changedFiles.add(file)
// }
// context.scannedContent = true
// }
// }
// }

// DISABLE_TOUCH = FALSE

// Retrieve an existing context from cache if possible (since contexts are unique per
Expand Down

0 comments on commit d935f58

Please sign in to comment.