/stdin-matcher-go

Measures the time for some input to appear in stdin

Primary LanguageGo

stdin-matcher-go

A utility that measures the time for some input to appear in stdin.

Useful when measuring some part of the process that keeps going after emitting some output

For example, measuring how long it takes for webpack-dev-middleware to finish the initial compilation, even though the process continues.

Example

webpack --mode development | ./stdin-matcher-go Compilation successful

Building

go build