From Beginning Appears to be always on
See original GitHub issueI apologize if I’m misunderstanding the purpose of this library, but currently if I’m tailing a file and create a new line, it will tail from the beginning by default. Even if I set the option fromBeginning
to false this remains. This is the code I’m currently using:
Tail = require('tail').Tail;
tail = new Tail("fileToTail.txt", {fromBeginning: false});
tail.on("line", function(data) {
console.log(data);
});
tail.on("error", function(error) {
console.log('ERROR: ', error);
});
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Use the Always On feature with your Apple Watch
How to manage the information that appears when your wrist is down · Open the Settings app on your Apple Watch. · Tap...
Read more >Always on display - Wikipedia
Always on display is a smartphone feature that has the device continue to show limited information while the phone is asleep. It is...
Read more >iPhone 14 Pro Always-On Display: How it Works ... - MacRumors
The iPhone 14 Pro and iPhone 14 Pro Max feature an always-on display for the first time on iPhone, which lets users glance...
Read more >Start the presentation and see your notes in Presenter view
In Presenter View, you can see your notes as you present, while the audience sees only your slides.
Read more >OnUnityAdsShowFailure is triggered always on first run when ...
This happens whenever the Unity Ads cookie dialog appears when the user taps to watch an ad for the first time after install....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also on Mac, using your terminal command worked for me. I was originally adding lines through VSCode which it appears must save files in a way that makes node think each line is being generated again. Apologies for the confusion.
Glad to hear it’s working as expected. I’ll close the issue.