The blackberry-deploy command seems capable of determining when it is a development mode issue. I have simply started returning that.