mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 22:33:46 +08:00
Ignore .git dirs in dev
This commit is contained in:
parent
09756b5150
commit
8037eab895
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user