You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have uploaded a sample go code which contains logic to handle different File Watcher events.
Suppose, If I delete a File which is being watched already, the logic hangs while trying to Call Remove(path) function of watcher.go and never returns.
Requirement:
To dynamically add/remove files to FileWatcher object during File Creation or Deletion inside a specific folder.
I have seen previous similar issues and workaround/solution for those issues. #22 #48
But wanted to know solution specific to my use case.
Thanks FileWatcher.go.txt
The text was updated successfully, but these errors were encountered:
Hi,
I have uploaded a sample go code which contains logic to handle different File Watcher events.
Suppose, If I delete a File which is being watched already, the logic hangs while trying to Call Remove(path) function of watcher.go and never returns.
Requirement:
To dynamically add/remove files to FileWatcher object during File Creation or Deletion inside a specific folder.
I have seen previous similar issues and workaround/solution for those issues.
#22
#48
But wanted to know solution specific to my use case.
Thanks
FileWatcher.go.txt
The text was updated successfully, but these errors were encountered: