e2e/shared/common.js
function writeConfigServe(port) {
  return new Promise(resolve => {
    _port = port;
    const skyuxConfigWithPort = merge(true, skyuxConfigOriginal, {
      app: {
        port: port
      }
    });

    writeConfig(skyuxConfigWithPort);
    const args = [cliPath, `serve`, `-l`, `none`, `--logFormat`, `none`];
    webpackServer = childProcessSpawn(`node`, args, cwdOpts);
    resetConfig();
    resolve();
  });
}
function writeConfigServe(port) {
  return new Promise(resolve => {
    _port = port;
    const skyuxConfigWithPort = merge(true, skyuxConfigOriginal, {
      app: {
        port: port
      }
    });

    writeConfig(skyuxConfigWithPort);
    const args = [cliPath, `serve`, `-l`, `none`, `--logFormat`, `none`];
    webpackServer = childProcessSpawn(`node`, args, cwdOpts);
    resetConfig();
    resolve();
  });
}
function writeConfigServe ( port ) { return new Promise ( resolve => { _port = port ; const skyuxConfigWithPort = merge ( true , skyuxConfigOriginal , { app : { port : port } } ) ; writeConfig ( skyuxConfigWithPort ) ; const args = [ cliPath , ` ` , ` ` , ` ` , ` ` , ` ` ] ; webpackServer = childProcessSpawn ( ` ` , args , cwdOpts ) ; resetConfig ( ) ; resolve ( ) ; } ) ; }
Write the config needed for serve
Write the config needed for serve