Everytime I compile and it takes longer than usual I check HN. Sometimes I forget to check the new build and 20 minutes have passed.
In my case, for python scripts that take a little more time to run, I add a `tput bel` at the end of the script. By doing this iTerm gives me a visual and a gentle sound notification that things are ready.
However, sometimes I miss it due to my focus being elsewhere.