I could see that as a good page to redirect to in your hosts file for distracting sites like HN, reddit et al.
open "http://www.donothingfor2minutes.com/"
(or your OS's equivalent) to the beginning of any compilation that takes a significant amount of time.