💥 ags(scripts/style-handler): ignore vim temporary files
This commit is contained in:
@@ -40,10 +40,13 @@ function watch(): void {
|
|||||||
monitorFile(
|
monitorFile(
|
||||||
`${path}`,
|
`${path}`,
|
||||||
(file: string) => {
|
(file: string) => {
|
||||||
|
// Ignore tmp files
|
||||||
|
if(!file.endsWith('~')) {
|
||||||
console.log(`[LOG] Stylesheet ${file} file updated`)
|
console.log(`[LOG] Stylesheet ${file} file updated`)
|
||||||
compileStyle();
|
compileStyle();
|
||||||
applyStyle();
|
applyStyle();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user