forked from noxious/server
fixed console logging on windows devices.
This commit is contained in:
parent
514ed87818
commit
7b90fa5c13
@ -61,8 +61,8 @@ export class LogReader {
|
|||||||
})
|
})
|
||||||
|
|
||||||
stream.on('data', (data) => {
|
stream.on('data', (data) => {
|
||||||
process.stdout.write('\r' + `[${filename}]\n${data}`)
|
console.log(`[${filename}]`);
|
||||||
process.stdout.write('\n> ')
|
console.log(data.toString()); //
|
||||||
})
|
})
|
||||||
|
|
||||||
currentPosition = newPosition
|
currentPosition = newPosition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user