13 lines
309 B
JavaScript
13 lines
309 B
JavaScript
const LifecycleCmd = require('../lifecycle-cmd.js')
|
|
|
|
// This ends up calling run-script(['restart', ...args])
|
|
class Restart extends LifecycleCmd {
|
|
static description = 'Restart a package'
|
|
static name = 'restart'
|
|
static params = [
|
|
'ignore-scripts',
|
|
'script-shell',
|
|
]
|
|
}
|
|
module.exports = Restart
|