src/runServer.js
function readServerConfig( server ) {
  try {
    const severConfig = getConfig( appSeverConfig );
    return Right( Object.assign( server, severConfig ));
  } catch ( e ) {
    print(
      chalk.red( `Failed to read ${SEVER_CONFIG}.` ),
      e.message
    );
    print();
    return Left( null );
  }
}
function readServerConfig( server ) {
  try {
    const severConfig = getConfig( appSeverConfig );
    return Right( Object.assign( server, severConfig ));
  } catch ( e ) {
    print(
      chalk.red( `Failed to read ${SEVER_CONFIG}.` ),
      e.message
    );
    print();
    return Left( null );
  }
}
function readServerConfig ( server ) { try { const severConfig = getConfig ( appSeverConfig ) ; return Right ( Object . assign ( server , severConfig ) ) ; } catch ( e ) { print ( chalk . red ( ` ${ SEVER_CONFIG } ` ) , e . message ) ; print ( ) ; return Left ( null ) ; } }
read config for develop server
read config for develop server