scripts/serve.js
function saveUrl(url) {
  fs.writeFile('serve-url.log', url, error => {
    if (error) {
      return console.log(error)
    }

    console.log('serve-url.log updated!')
  })
}
function saveUrl(url) {
  fs.writeFile('serve-url.log', url, error => {
    if (error) {
      return console.log(error)
    }

    console.log('serve-url.log updated!')
  })
}
function saveUrl ( url ) { fs . writeFile ( 'serve-url.log' , url , error => { if ( error ) { return console . log ( error ) } console . log ( 'serve-url.log updated!' ) } ) }
Save url generated by ngrok to file
@param url
Save url generated by ngrok to file