[GH-ISSUE #137] Add button to stop/restart watch #97

Closed
opened 2026-03-03 16:04:24 +03:00 by kerem · 6 comments
Owner

Originally created by @webjoel on GitHub (Aug 31, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/137

The lib node-tail tail enables to start/stop watch:

tail.watch();

tail.unwatch();

It's very good for many logs in little time when necessary analyse the log, so watch stop and after, start watch again.

It would be interesting to add this feature in this project as well.

I have an application that generates many logs.

Originally created by @webjoel on GitHub (Aug 31, 2018). Original GitHub issue: https://github.com/mthenw/frontail/issues/137 The lib ~~node-tail~~ tail enables to start/stop watch: ``` tail.watch(); tail.unwatch(); ``` It's very good for many logs in little time when necessary analyse the log, so watch stop and after, start watch again. It would be interesting to add this feature in this project as well. I have an application that generates many logs.
kerem 2026-03-03 16:04:24 +03:00
Author
Owner

@mthenw commented on GitHub (Aug 31, 2018):

Hey @webjoel

are you referring to https://www.npmjs.com/package/node-tail?

<!-- gh-comment-id:417659304 --> @mthenw commented on GitHub (Aug 31, 2018): Hey @webjoel are you referring to https://www.npmjs.com/package/node-tail?
Author
Owner

@webjoel commented on GitHub (Aug 31, 2018):

@mthenw Not, really is: https://www.npmjs.com/package/tail

Suggestion:

1 - Use this lib I quoted;
2 - Create the similar feature in this project;

<!-- gh-comment-id:417668064 --> @webjoel commented on GitHub (Aug 31, 2018): @mthenw Not, really is: https://www.npmjs.com/package/tail Suggestion: 1 - Use this lib I quoted; 2 - Create the similar feature in this project;
Author
Owner

@mthenw commented on GitHub (Sep 4, 2018):

I've been thinking about switching to this library (which also means supporting Windows OS) but there is no way to set an initial number of lines. Not sure how it will perform. I need to test it.

<!-- gh-comment-id:418270171 --> @mthenw commented on GitHub (Sep 4, 2018): I've been thinking about switching to this library (which also means supporting Windows OS) but there is no way to set an initial number of lines. Not sure how it will perform. I need to test it.
Author
Owner

@webjoel commented on GitHub (Sep 4, 2018):

I understand, meanwhile, in the current implementation, is it possible to add this stop and continue feature?

<!-- gh-comment-id:418328659 --> @webjoel commented on GitHub (Sep 4, 2018): I understand, meanwhile, in the current implementation, is it possible to add this stop and continue feature?
Author
Owner

@mthenw commented on GitHub (Sep 5, 2018):

Technically it's possible, but I'm probably not able to spend time on that. Are you interested in contributing?

<!-- gh-comment-id:418706401 --> @mthenw commented on GitHub (Sep 5, 2018): Technically it's possible, but I'm probably not able to spend time on that. Are you interested in contributing?
Author
Owner

@webjoel commented on GitHub (Sep 5, 2018):

Okay, I'll try to develop.

<!-- gh-comment-id:418746520 --> @webjoel commented on GitHub (Sep 5, 2018): Okay, I'll try to develop.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#97
No description provided.