export default ({ compiled: { html }, file }) =>
  new Promise(resolve => {
    // eslint-disable-next-line
    console.log(`<!-- FILE: ${file} -->\n${html}`)
    resolve()
  })

export default ({ compiled: { html }, file }) =>
  new Promise(resolve => {
    process.stdout.write(`<!-- FILE: ${file} -->\n${html}\n`, resolve);
  })

Use `process.stdout.write()` instead of `console.log()` so output is flushed.
Use `process.stdout.write()` instead of `console.log()` so output is flushed.
