-
Notifications
You must be signed in to change notification settings - Fork 149
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
Ignore apparently not working at all #254
Labels
bug
Something's not right!
has workaround
Bug has a workaround, so it might not need urgent attention
need repro
Needs a reproduction and some investigation
Milestone
Comments
This was probably fixed, or partially fixed, in 1.18.5, can you try that? Otherwise likely a duplicate of #241. I'll review that log tonight. |
It does not print the "cannot send events..." error, but it still loops calling the command continuously, apparently ignoring the -i directive on _build 23:16:11|seba@archanoid:~/src/host_installer (eidon/develop_4.0.1 *)$ ~/.cargo/bin/watchexec --print-events --no-project-ignore -i rebar.lock -i _build -i .git -i "#*" "bin/rebar3 as prod release" [EVENT 0] Event ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling gsd_libs ===> Compiling ranch ===> Compiling cowboy ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling host_installer_cli ===> Building escript for host_installer_cli... [EVENT 0] Event source=Filesystem kind=Modify(Data(Any)) path=/home/seba/src/host_installer/_build/cli/default/bin/host_installer_cli filetype=file [EVENT 1] Event source=Filesystem kind=Modify(Data(Any)) path=/home/seba/src/host_installer/_build/cli/default/bin/host_installer_cli filetype=file [EVENT 2] Event source=Filesystem kind=Access(Close(Write)) path=/home/seba/src/host_installer/_build/cli/default/bin/host_installer_cli filetype=file [EVENT 3] Event source=Filesystem kind=Modify(Metadata(Any)) path=/home/seba/src/host_installer/_build/cli/default/bin/host_installer_cli filetype=file ... |
You can probably use |
Wonderful, that worked! Thank you ;) |
niedzielski
added a commit
to oidoid/mem
that referenced
this issue
Nov 27, 2022
niedzielski
added a commit
to oidoid/atlas-pack
that referenced
this issue
Nov 27, 2022
niedzielski
added a commit
to niedzielski/makefile-skeleton
that referenced
this issue
Nov 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something's not right!
has workaround
Bug has a workaround, so it might not need urgent attention
need repro
Needs a reproduction and some investigation
Watchexec's version 1.18.4 on arch linux
In 1.17.x the same command as below (except for the --print-events) allowed rebar3 to run at least once, then watchexec only run it again when I changed something in ./src.
Now it seems that it does not ignore _build anymore and it goes into a loop. I have to kill it before looping because otherwise it fills the shell with another error (cannot send event from fs watcher: no available capacity). I tried adding --no-project-ignore because there are .gitignore files that could interfere, but same result.
I saw another issue regarding ignore option, but I do not understand if this is a different symptom of the same problem...
Log taken with -vvv
wlog.gz
Thanks in advance
The text was updated successfully, but these errors were encountered: