Skip to content

How to stop file watcher? #244

@halturin

Description

@halturin

couldn't find a way to stop file-watching.

f := file.Provider("somefile.yaml"))

f.Watch(func(event any, e error) error {
  // handler
}

am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions