old_contents: const compiler = require('frida-compile')
  
  const tasks = [
    { src: 'agent/index.js', dest: 'agent/app.bundle.js' },
    { src: 'agent/springboard.js', dest: 'agent/springboard.bundle.js' },
  ]
  
  const watch = process.argv.indexOf('watch') > -1
  const opt = {
    bytecode: !watch,
    compress: !watch,
    babelify: true,
  }
  
  if (watch)
    tasks.forEach(task => compiler.watch(task.src, task.dest, opt)
      .on('compile', (details) => {
        const count = details.files.length
        const { duration } = details
        console.log(`compiled ${count} file(s) in ${duration} ms`)
      }))
  else
    Promise
      .all(tasks.map(task => compiler.build(task.src, task.dest, opt)))
      .catch(err => console.error(err))
  
new_contents: const compiler = require('frida-compile')
  
  const tasks = [
    { src: 'agent/index.js', dest: 'agent/app.bundle.js' },
    { src: 'agent/springboard.js', dest: 'agent/springboard.bundle.js' },
  ]
  
  const watch = process.argv.indexOf('watch') > -1
  const opt = {
    bytecode: false,
    compress: !watch,
    babelify: true,
  }
  
  if (watch)
    tasks.forEach(task => compiler.watch(task.src, task.dest, opt)
      .on('compile', (details) => {
        const count = details.files.length
        const { duration } = details
        console.log(`compiled ${count} file(s) in ${duration} ms`)
      }))
  else
    Promise
      .all(tasks.map(task => compiler.build(task.src, task.dest, opt)))
      .catch(err => console.error(err))
  
subject: fix #13