Ignore hidden files
This commit is contained in:
@ -45,6 +45,7 @@ func link(from, to string) chan struct{} {
|
||||
w := watcher.New()
|
||||
w.SetMaxEvents(1)
|
||||
w.FilterOps(watcher.Write, watcher.Rename, watcher.Move, watcher.Create, watcher.Remove)
|
||||
w.IgnoreHiddenFiles(true)
|
||||
|
||||
if err := w.AddRecursive(from); err != nil {
|
||||
fmt.Println(err.Error())
|
||||
|
2
main.go
2
main.go
@ -82,7 +82,7 @@ func main() {
|
||||
app := &cli.App{
|
||||
Name: "gowebbuild",
|
||||
Usage: "All in one tool to build web frontend projects.",
|
||||
Version: "4.1.0",
|
||||
Version: "4.1.1",
|
||||
Authors: []*cli.Author{{
|
||||
Name: "trading-peter (https://github.com/trading-peter)",
|
||||
}},
|
||||
|
Reference in New Issue
Block a user