mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:55:33 +00:00
fix: tree kill prompt
This commit is contained in:
parent
804e282241
commit
26ace127f9
@ -5,6 +5,7 @@ const axios = require('axios');
|
||||
const { pTest } = require('./p-test');
|
||||
const os = require('os');
|
||||
const treeKill = require('tree-kill');
|
||||
const chalk = require('chalk');
|
||||
|
||||
/**
|
||||
* 检查服务是否启动成功
|
||||
@ -97,7 +98,7 @@ process.on('SIGINT', async () => {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
} else {
|
||||
console.log('all subprocesses were killed, exiting main process');
|
||||
console.log(chalk.yellow('Force killing...'));
|
||||
}
|
||||
process.exit();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user