mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Ignore .git dirs in dev
This commit is contained in:
@@ -418,6 +418,10 @@ func initialiseWatcher(cwd string, logFatal func(string, ...interface{})) (*fsno
|
||||
return
|
||||
}
|
||||
// Ignore build directory
|
||||
if strings.Contains(dir, ".git") {
|
||||
return
|
||||
}
|
||||
// Ignore build directory
|
||||
if strings.HasPrefix(dir, filepath.Join(cwd, "build")) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user