10f942b577
- SIGINT: use process.once instead of process.on - Negative offset: validate and exit(1) with error to stderr - Follow mode: sequential while loop replaces setInterval (no async race) - Log rotation: reset size when newSize < size - TODO: readAllLines large file optimization note - 2 new tests for negative offset validation 小橘 <xiaoju@shazhou.work>