gajus / turbowatch

Extremely fast file change detector and task orchestrator for Node.js.
Other
944 stars 23 forks source link

add a way to filter logs #4

Open gajus opened 1 year ago

gajus commented 1 year ago

some commands being watched can produce a lot of not-so-useful logs, e.g. pnpm

#12 235.6 Progress: resolved 747, reused 699, downloaded 0, added 0
#12 236.6 Progress: resolved 752, reused 704, downloaded 0, added 0
#12 237.6 Progress: resolved 753, reused 705, downloaded 0, added 0
#12 238.6 Progress: resolved 755, reused 707, downloaded 0, added 0
#12 239.6 Progress: resolved 756, reused 708, downloaded 0, added 0
#12 240.6 Progress: resolved 757, reused 709, downloaded 0, added 0
#12 241.6 Progress: resolved 760, reused 712, downloaded 0, added 0
#12 242.6 Progress: resolved 763, reused 715, downloaded 0, added 0
#12 243.6 Progress: resolved 766, reused 718, downloaded 0, added 0
#12 244.6 Progress: resolved 767, reused 719, downloaded 0, added 0
#12 245.6 Progress: resolved 768, reused 720, downloaded 0, added 0
#12 250.4 Progress: resolved 769, reused 720, downloaded 0, added 0
#12 251.4 Progress: resolved 770, reused 722, downloaded 0, added 0
#12 252.4 Progress: resolved 772, reused 724, downloaded 0, added 0
#12 255.9 Progress: resolved 773, reused 724, downloaded 0, added 0
#12 256.9 Progress: resolved 773, reused 725, downloaded 0, added 0
#12 273.4 Progress: resolved 774, reused 725, downloaded 0, added 0
#12 274.4 Progress: resolved 774, reused 726, downloaded 0, added 0
#12 275.4 Progress: resolved 775, reused 726, downloaded 0, added 0
#12 276.4 Progress: resolved 775, reused 727, downloaded 0, added 0
#12 280.0 Progress: resolved 776, reused 727, downloaded 0, added 0
#12 281.0 Progress: resolved 776, reused 728, downloaded 0, added 0
#12 290.4 Progress: resolved 777, reused 728, downloaded 0, added 0
#12 291.4 Progress: resolved 777, reused 729, downloaded 0, added 0
#12 292.8 Progress: resolved 778, reused 729, downloaded 0, added 0
#12 293.8 Progress: resolved 778, reused 730, downloaded 0, added 0
#12 295.7 Progress: resolved 779, reused 730, downloaded 0, added 0
#12 296.7 Progress: resolved 779, reused 731, downloaded 0, added 0
#12 297.7 Progress: resolved 780, reused 732, downloaded 0, added 0
#12 298.9 Progress: resolved 781, reused 732, downloaded 0, added 0
#12 299.9 Progress: resolved 786, reused 738, downloaded 0, added 0

Sometimes these logs can be configured at the individual tool level, other times they cannot. It would be nice to be able to filter out these logs at the watchrow level.

gajus commented 1 year ago

Ended up using https://github.com/gajus/roarr-cli

gajus commented 1 year ago

There are still valid use cases