handle dev and other modes for rendering assets