For example, I have a file that changes very often (IDE periodically saves source code to disk), but I don't want to restart a service this often, because restart is expensive. What I would prefer is to restart a deamon once in 30 seconds or even less often regardless that files are changing all the time. Is there a way to set some debounce/throttle logic?