Skip to content

Commit a13821a

Browse files
committed
tools: ignore .db and .sqlite files by default in v watch (such DB files are very likely to change during prototyping)
1 parent a91e2de commit a13821a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎cmd/tools/vwatch.v‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ fn (mut context Context) is_ext_ignored(pf string, pf_ext string) bool {
127127
if pf_ext == '.bak' {
128128
return true
129129
}
130+
// ignore DB files (sqlite databases, that are likely to change during prototyping):
131+
if pf_ext in ['.db', '.sqlite'] {
132+
return true
133+
}
130134
if pf.starts_with('.#') {
131135
return true
132136
}

0 commit comments

Comments
 (0)