I wouldn't recommend using "resources" flag to achieve what you want because what happens if a dev task lands first on a box and then a production task wants to launch? Does the production task get starved? Does the framework pre-empt the dev task?
I think what you are looking for here is oversubscription <https://github.com/apache/mesos/blob/master/docs/oversubscription.md>. You can launch the dev task using revocable resources and launch prod task using regular resources.

