UNPKG

whaler

Version:

Define and run multi-container applications with Docker

17 lines (12 loc) 304 B
'use strict'; module.exports = exports; module.exports.__cmd = require('./cmd'); /** * @param whaler */ async function exports (whaler) { whaler.on('restart', async ctx => { await whaler.emit('stop', ctx.options); ctx.result = await whaler.emit('start', ctx.options); }); }