src/LiveDevelopment/LiveDevServerManager.js
function getServer(localPath) {
        var provider, server, i;

        for (i = 0; i < _serverProviders.length; i++) {
            provider = _serverProviders[i];
            server = provider.create();

            if (server.canServe(localPath)) {
                return server;
            }
        }

        return null;
    }
function getServer(localPath) {
        var provider, server, i;

        for (i = 0; i < _serverProviders.length; i++) {
            provider = _serverProviders[i];
            server = provider.create();

            if (server.canServe(localPath)) {
                return server;
            }
        }

        return null;
    }
function getServer ( localPath ) { var provider , server , i ; for ( i = 0 ; i < _serverProviders . length ; i ++ ) { provider = _serverProviders [ i ] ; server = provider . create ( ) ; if ( server . canServe ( localPath ) ) { return server ; } } return null ; }
Determines which provider can serve a file with a local path.

@param {string} localPath A local path to file being served.
@return {?BaseServer} A server no null if no servers can serve the file
Determines which provider can serve a file with a local path .