-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nLines not working #140
Comments
Hello @wesleymv
Are the multiple lines tailed when the file changes new lines? |
Hi @lucagrulla The lines I get are in the old file. For example, 1.log contains:
when I add 4, this is the output:
if I remove the nLines and run the same steps (seems to omit last line):
|
How are lines added?
The underline NodeJS core library is sometimes platform dependent. Are the
new lines added via an app, like notepad, or with a different mechanism?
…On Wed, 21 Jul 2021 at 18:45, wesleymv ***@***.***> wrote:
Hi @lucagrulla <https://github.com/lucagrulla>
The lines I get are in the old file. For example, 1.log contains:
1 2 3
when I add 4, this is the output:
31 2 3
if I remove the nLines and run the same steps (seems to omit last line):
1 2 3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQ6JVGZSJAXWNB2QEX2X3TY3TSFANCNFSM5AYDPYXA>
.
|
Fixed with v2.2.4 |
I am trying to use the nLines option, but it does not seem to work. When the file is modified, it brings more than one line.
Here is the code I am using:
When it starts, it brings one line. But, brings many lines when file is modified.
I am sorry if this is just the wrong use of the library.
Thank you in advance
The text was updated successfully, but these errors were encountered: