diff --git a/pkg/watcher/executor.go b/pkg/watcher/executor.go index 3347fc60..ac7362bb 100644 --- a/pkg/watcher/executor.go +++ b/pkg/watcher/executor.go @@ -12,7 +12,8 @@ func TriggerImport(entry config.WatchEntry) { // Retrieve config to get client options. cfgPath, err := config.DefaultLocalConfigPath() if err != nil { - fmt.Errorf("Error while loading config: %s", err.Error()) + fmt.Printf("[ERROR] Error while loading config: %s\n", err.Error()) + return } fmt.Println("[INFO] Re-importing changed file: " + entry.FilePath)