Another way to solve this is to use the new labs feature 'project import'.
You can make a project with a single file that only includes the connection and have the contents of that file be different on the production server and the dev server.
In your regular LookML project, instead of a
You would have an include statement that includes a file from the 'connection_proj' (a project you make on both the dev and production servers).
conection_proj would be different for each server.
in the dev server you would make the file 'connection.view' contain
and in the production server the file 'connection.view' would contain: