From 760decfb85184882a079a07e6080f4a7707708fa Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 15 Dec 2022 12:17:04 +0100 Subject: [PATCH] Ignore hidden files --- linker.go | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linker.go b/linker.go index 03e74e2..595b109 100644 --- a/linker.go +++ b/linker.go @@ -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()) diff --git a/main.go b/main.go index 860cc2c..5d47382 100644 --- a/main.go +++ b/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)", }},