function plBuild(done, errorShouldExit) {
    core.events.emit('pattern-lab:precompile');
    // @todo add memory limit config option: `php -d memory_limit=4048M`
    core.utils.sh(`php ${consolePath} --generate`, errorShouldExit, (err) => {
      core.events.emit('reload');
      done(err);
    });
  }
function plBuild(done, errorShouldExit) {
    core.events.emit('pattern-lab:precompile');
    
    core.utils.sh(`php ${consolePath} --generate`, errorShouldExit, (err) => {
      core.events.emit('reload');
      done(err);
    });
  }
function plBuild ( done , errorShouldExit ) { core . events . emit ( 'pattern-lab:precompile' ) ; // @todo add memory limit config option: `php -d memory_limit=4048M` core . utils . sh ( ` ${ consolePath } ` , errorShouldExit , ( err ) => { core . events . emit ( 'reload' ) ; done ( err ) ; } ) ; }
BEGIN: Compile
BEGIN : Compile