Closed assaf closed 10 years ago
Cool, thanks :)
Just out of curiosity, were there any drawbacks to use something like spawn('tail', ['-f', 'app.log'], { stdio: 'inherit' })
?
For my next trick, I want to tail all the logs together, so I can watch them from a single terminal tab. No an easy trick to pull off with bash.
Run
katon tail
on the current directory, instead oftail -f ~/.katon/logs/<app>.log
.katon tail <app>
also works to tail log file regardless of current directory.