Intercepting continuous build

Hi,

Out of curiosity, in continuous mode is it possible to prompt the user for permission before executing tasks affected by changed input/outputs? Any ideas on how to achieve this? Thanks!

After some more digging, found this class particularly helpful for arbitrary situations when user input is required, regardless of if it is in continuous mode: