Closed tyoung-patreon closed 1 year ago
Not calling status is something that changed some time ago with no particular reason as far as I can tell, so we can fix that.
Why call start after kill, would the next run not do that anyway?
Does this fix your issue?
This change did fix my issues, I think run works fine as well but I definitely found it more confusing when debugging and trying to identify which process was the daemon and which was being submitted to the daemon.
The bad interaction happens in the following scenario:
This continues until I stop editing files or I wait long enough for one of the dmypy tasks to fully index. It's a pretty rough experience for my project where the initial dmypy run takes several minutes, and during that time if I edit anything it starts over entirely. When I was debugging this is was helpful to have a dmypy start
command distinct from the dmypy run
commands so I knew which process was which, but maybe that's just personal preference.
hello, I'm wondering if you have an idea of when you'll release a new version with this change? thanks!
Now
perfect, thanks!
Fixes usage of dmypy so only one instance is started and they don't constantly kill eachother.
Fixes #44