Added support for config.resource in dev mode