Open stvdwtt opened 2 weeks ago
We print a message but only when the counter overflows which takes a long time. If you change the initial value of the counter to zero here and here, we will print the message as soon as we are waiting. When I wrote the code, I was expecting the counter to overflow much faster than what it does in practice.
We should (at least optionally) print a message to the screen when the code is waiting for a file (or a file like the scan path to update). I think the option to add a message is already there, but unused.
Currently it is hard to tell the difference between an expected hang waiting for a file, an unexpected hang, and the code moving along.