-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't get xnotify to do anything ... #2
Comments
When you run the command with For example, after
It might also be possible that you're watching too many files. So try it in a folder with fewer files. https://support.code42.com/CrashPlan/6/Troubleshooting/Linux_real-time_file_watching_errors |
Hi and thanks for the reply. Nope, with --verbose, I do not get anything apart from the initial list of what it is watching ([xnotify] Watching: ...). That list only contains 584 files, so I hope that isn't above a limit. 😄
Seems normal. |
Can you verify that inotify works https://unix.stackexchange.com/questions/323901/how-to-use-inotifywait-to-watch-a-directory-for-creation-of-files-of-a-specific |
Hi. Yep, it seems to:
The output was while I ran an ls, a touch and them an rm in my home dir. thanks |
I'm not sure what's causing the problem. I updated fsnotify to the latest version. Let me know if it works. https://github.com/AgentCosmic/xnotify/releases/tag/v0.2.3 |
Hi there! I have the same problem. |
Hi, is it the same exact error? It is v0.2.4? |
yes. I don't get any logs if i drop the files to the current directory. Only these logs were printed from time to time:
|
xnotify can only watch existing files. You can use |
We'll it depends. On Windows it will detect if I create new file with my editor or if I drop a file in explorer. But when I use explorer to create new file it doesn't detect. This just uses whatever the library (fsnotify) and OS provides. Maybe you can try using the cli to move the file and see if it triggers? |
Actually |
I'm sure I must be missing something:
Then in another window:
but I get nothing from xnotify. This is a physical Ubuntu 18.04 (5.3.0-51) AMD64 server. Running with --verbose shows me a great list of everything it's going to watch under /home/ak, but nothing else, and nothing when I touch and then rm a file.
How can I help diagnose, or what am I doing wrong ? Thanks in advance.
The text was updated successfully, but these errors were encountered: