Skip to content

Cannot remove watch for deleted directory on windows #208

@charlie103

Description

@charlie103

After i delete a directory,i want to remove the watch for it ,i write the code like this
if err := watcher.Remove(dire); err != nil{ fmt.Println("Something wrong happened when remove watch ",dire,"err=",err) }

but i got error
"GetFileAttributes:The system cannot find the file specified"

GOOS: go1.8 windows/amd64
Windows7 64bit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions