async function tryHandleAsPortForwardServer(argv) {
    if (argv[2] !== portForwardSentinelArgument) {
        return false;
    }

    const port = parseInt(process.argv[3], 10);
    const path = process.argv[4];
    const testLogsDir = process.argv[5];

    await startMockService(port, path, testLogsDir);

    process.send(portForwardProcessReadyMessage);
    return true;
}
// Returns whether argv indicated it *should* be handled as a port server
Returns whether argv indicated it *should* be handled as a port server
Returns whether argv indicated it * should * be handled as a port server
async function tryHandleAsPortForwardServer(argv) {
    if (argv[2] !== portForwardSentinelArgument) {
        return false;
    }
    const port = parseInt(process.argv[3], 10);
    const path = process.argv[4];
    const testLogsDir = process.argv[5];
    await startMockService(port, path, testLogsDir);
    process.send(portForwardProcessReadyMessage);
    return true;
}
async function tryHandleAsPortForwardServer ( argv ) { if ( argv [ 2 ] !== portForwardSentinelArgument ) { return false ; } const port = parseInt ( process . argv [ 3 ] , 10 ) ; const path = process . argv [ 4 ] ; const testLogsDir = process . argv [ 5 ] ; await startMockService ( port , path , testLogsDir ) ; process . send ( portForwardProcessReadyMessage ) ; return true ; }
Returns whether argv indicated it *should* be handled as a port server
Returns whether argv indicated it * should * be handled as a port server