Is there a way to delay code recompilation until I press Play ?

Every little change I do gets recompiled instantly and i was wondering if I can just stack them instead, before recompiling.