💥 ags(scripts/style-handler): ignore vim temporary files

This commit is contained in:
retrozinndev
2025-01-22 20:45:33 -03:00
parent 37687b3e62
commit c7a34caa44
+6 -3
View File
@@ -40,9 +40,12 @@ function watch(): void {
monitorFile( monitorFile(
`${path}`, `${path}`,
(file: string) => { (file: string) => {
console.log(`[LOG] Stylesheet ${file} file updated`) // Ignore tmp files
compileStyle(); if(!file.endsWith('~')) {
applyStyle(); console.log(`[LOG] Stylesheet ${file} file updated`)
compileStyle();
applyStyle();
}
} }
) )
) )