-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The delete directory process exits #81
Comments
@zdwork sorry? |
Is there any good way to solve it? I did it with a gorouting, as long as we don't let the main process exit |
Sorry I still don't understand what you're trying to say. |
Don't let main exit.goroutine exec tail |
How do you delete a file without letting it exit |
You can remove the directory from watcher before deleting it. |
Excuse me, how do I do that |
w.RemoveRecursive(path)
//or
w.Remove(path) |
Sorry, what I just said is wrong, we all delete it first |
if name == err.(*os.PathError).Path { howdy Is that ok? |
Don't want him to back out and help
The text was updated successfully, but these errors were encountered: