-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
watchmedo only triggers once (and sometimes not even once) #711
Comments
Which operating system are you running on? :-) |
Osx, catalina I think is the name. If you need more details I can check once I'm back on my laptop. |
Great, thanks! Then the problem is most likely with the |
Hello, I am having the same issue, but when using the python module. Is there a way to force kqueue in python? Thanks |
I think this can be closed following the release of 2.0. |
I have a problem I can't manage to identify, I'm not sure it's a bug with
watchmedo
command tho.When I run the following:
Everything works as expected and any change triggers the
echo
command, on the other hand, if I changeecho test
bypoetry run python -m sphinx -a -E -b html source public
(which on its own work without any issue, ie., error code is0
) I get strange behaviours.Most of the time the first change triggers documentation build as expected. Subsequent changes will never trigger and the command build will not be executed anymore.
Any clue what could be causing this?
EDIT I also test with this command
poetry run python -m sphinx -a -E -b html source public && echo status $?
just to make sure everything went well even when started from the first auto-trigger. And it also printedstatus 0
.2nd EDIT I found a command you can try at home and produces similar (unexpected) results:
After the first edit, this should print
test \n ok
then it will stop triggering after subsequent edits.3rd EDIT using
--debug-force-polling
seems to prevent this bug from appearing (both in the sphinx build andsleep 10
cases), no idea what that does 🤣The text was updated successfully, but these errors were encountered: