Make live reload smarter.