fix: Don't attempt to read from deleted CSS files (#765)
parent
6fa8861efd
commit
c5d20ab343
|
@ -1845,7 +1845,7 @@ class TW {
|
|||
let isCssFile = minimatch(normalizedFilename, `**/${CSS_GLOB}`, {
|
||||
dot: true,
|
||||
})
|
||||
if (isCssFile) {
|
||||
if (isCssFile && change.type !== FileChangeType.Deleted) {
|
||||
let configPath = await getConfigFileFromCssFile(change.file)
|
||||
if (
|
||||
cssFileConfigMap.has(normalizedFilename) &&
|
||||
|
|
Loading…
Reference in New Issue