-
Notifications
You must be signed in to change notification settings - Fork 15
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 prevent sos from triggering on emacs lock files #40
Comments
Related: #12 |
Thanks @Martinsos - I'll look into it. |
Try - pattern: ...
excludes:
- \#
- flycheck
commands:
- stack exec ... |
@schell Thanks for the suggestion, but it does not work! |
@Martinsos , what about this
I have tested it to watch all |
Hi!
I have emacs creating files like
.#myfile.txt
when I am editing a file, and sos triggers on those (runs the command). This is not the behaviour I want, so I tried using -e to exclude those, but I just can't get it to work!I tried following:
and non of those excludes the files in question from triggering sos.
The message I get is
Added: foo/bar/.#yourfile.txt
. So it seems to be triggering only on adding the emacs lock file, not modifying it. Is it possible that-e
matches only modified files and not added ones?Am I doing smth wrong? Thank you!
Btw. I am on Archlinux, I am running sos on a directory, and sos version is 2.0.2.
The text was updated successfully, but these errors were encountered: