Disable deployment while developing?

I have my app set to upgrade silently in the background without user interaction via ionic deploy.
However this is making it a bit problematic to do development since the only way to block this feature that I can think of is to comment that bit out while I’m developing.

I’d really like to say "If we’re ahead of the deployment version, don’t “update”

Not really certain how to put that together though.