gcc-output-parser
gcc-output-parser copied to clipboard
Live parsing
trafficstars
It seems like the lookback only works if all the stdout is given in one chunk.
Say I am parsing the input in real-time from the stdout...can the lookback be used if the messages come across the stdout callback below:
childProcess.stdout.on('data', data => {
})
That's a great idea! It would definitely need to be reworked for live parsing. Probably by buffering chunks and parsing when a whole GCC message has been received. Currently, we only work on full output but if you want to take a swing at implementing this, go ahead!
@Suda Cool, just wanted to check it wasn't already possible. I might have a crack at it when I have some time.