-
Notifications
You must be signed in to change notification settings - Fork 228
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
Errors when watcher backend is given broken symlinks #21
Comments
It also happens if |
It should probably check that the path it's given is a directory or a regular file, and if it's a symlink it should attempt to dereference it, and only feed it to the watcher if either of those is the case. I imagine rsnotify also fails if invoked on, say, "special" files in |
Fix shipped in v2.5.2. |
I'm on Linux kernel 4.1.0, rsnotify 2.1.0 and Emacs 24.5.
My code is as simple as:
Every time I modified files in Emacs,
watcher.watch(p)
returns error:If I
ls -al
the watched directory, I'm getting:The
.#index.hbs
symbol link, as the SO question said, is Emacs lockfile.I'm not quite sure if this is an rsnotify issue, anything suggestion or workaround are welcomed.
The text was updated successfully, but these errors were encountered: