watch: interrupt ongoing task

Use case: I have a task that starts a server in development mode. I would like to use watch to interrupt the ongoing build task before starting the new one.

I assume this would be the desired behavior for long-running build tasks as well.