UNPKG

fliphub-monorepo

Version:
15 lines (13 loc) 288 B
const compiler = webpack(builder.config) try { compiler.watch({}, (err, stats) => { context.debugFor('watch', stats.toString({ chunks: false, colors: true, })) // context.evts.emit('compiled.${name}') resolve(context) }) } catch (e) { console.exit(e) }