Add build switch for watch usage.