wip
This commit is contained in:
parent
a3bd4ba426
commit
3368fe8552
20 changed files with 582 additions and 609 deletions
|
|
@ -10,7 +10,6 @@ import * as debug from 'debug';
|
|||
import chalk from 'chalk';
|
||||
// import portUsed = require('tcp-port-used');
|
||||
import isRoot = require('is-root');
|
||||
import { master } from 'accesses';
|
||||
import Xev from 'xev';
|
||||
|
||||
import Logger from './utils/logger';
|
||||
|
|
@ -73,11 +72,6 @@ async function masterMain(opt) {
|
|||
|
||||
Logger.info(chalk.green('Successfully initialized :)'));
|
||||
|
||||
// Init accesses
|
||||
if (config.accesses && config.accesses.enable) {
|
||||
master();
|
||||
}
|
||||
|
||||
spawnWorkers(() => {
|
||||
if (!opt['only-processor']) {
|
||||
Logger.info(chalk.bold.green(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue