[server] host from args

This commit is contained in:
2018-03-29 15:04:30 +03:00
parent c8448b7848
commit c603753226
10 changed files with 42 additions and 18 deletions

View File

@@ -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();