function startRepl(prompt)
{
  console.log('Starting REPL session')

  repl.start(`${prompt}> `).on('exit', function()
  {
    console.log('Got "exit" event from repl!')
    process.exit(2)
  })
}
/**
 * Starts a repl in case if somethings not working
 *
 * @param {String} promp The name of the prompt
 *
 * @event repl#exit
 */
Starts a repl in case if somethings not working
@param {String} promp The name of the prompt

@event repl#exit
Starts a repl in case if somethings not working @param { String } promp The name of the prompt @event repl#exit
function startRepl(prompt)
{
  console.log('Starting REPL session')
  repl.start(`${prompt}> `).on('exit', function()
  {
    console.log('Got "exit" event from repl!')
    process.exit(2)
  })
}
function startRepl ( prompt ) { console . log ( 'Starting REPL session' ) repl . start ( ` ${ prompt } ` ) . on ( 'exit' , function ( ) { console . log ( 'Got "exit" event from repl!' ) process . exit ( 2 ) } ) }
Starts a repl in case if somethings not working
 @param {String} promp The name of the prompt
Starts a repl in case if somethings not working @param { String } promp The name of the prompt