💥 ags(scripts/style-handler): ignore vim temporary files
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user