💥 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
+3
View File
@@ -40,10 +40,13 @@ function watch(): void {
monitorFile(
`${path}`,
(file: string) => {
// Ignore tmp files
if(!file.endsWith('~')) {
console.log(`[LOG] Stylesheet ${file} file updated`)
compileStyle();
applyStyle();
}
}
)
)