[server] host from args
This commit is contained in:
@@ -10,12 +10,12 @@ class Neko {
|
||||
this.tag = 'Neko';
|
||||
}
|
||||
|
||||
run() {
|
||||
run(...args) {
|
||||
let stream = null;
|
||||
const bufferContents = (file, enc, callback) => {
|
||||
log(this.tag, colors.cyan("run"), colors.magenta(file.path));
|
||||
|
||||
exec('.', ['neko', file.path].join(' '))
|
||||
exec('.', ['neko', file.path].concat(args).join(' '))
|
||||
.then(() => {
|
||||
stream.emit('end');
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user