diff --git a/main.go b/main.go index 0b0d52d..c02a9f5 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,6 @@ import ( "time" "github.com/chromedp/chromedp" - "github.com/fsnotify/fsnotify" "github.com/lunny/html2md" "github.com/robfig/cron/v3" "github.com/spf13/viper" @@ -61,10 +60,12 @@ login: // Config file was found but another error was produced } } - viper.WatchConfig() - viper.OnConfigChange(func(e fsnotify.Event) { - fmt.Println("Config file changed:", e.Name) - }) + + // This does not work on Alpine Linux ... maybe under other linux variations + //viper.WatchConfig() + //viper.OnConfigChange(func(e fsnotify.Event) { + // fmt.Println("Config file changed:", e.Name) + //}) html2md.AddRule("span", &html2md.Rule{ Patterns: []string{"span"},