UNPKG

329 BJavaScriptView Raw
1#!/usr/bin/env node
2
3const { inspect } = require('util')
4const files = require('./src/files')
5const reporter = require('./src/reporter')
6const build = require('./src/build')
7
8reporter(files)
9
10process.on('unhandledRejection', function(reason) {
11 console.log('Unhandled Promise')
12 console.log(inspect(reason))
13 build.error()
14})