Tweaked when the page refreshes a bit

Only refresh if we're in my ~/Sites directory (since I most likely will have a site up in the browser). Also checks to see if the domain of the site starts with "local" which would imply that the tab I have active is what I'm working on.