mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-25 17:55:55 +03:00
[PR #201] Use a JS only tail implementation #232
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mthenw/frontail/pull/201
Author: @teid
Created: 3/21/2020
Status: 🔄 Open
Base:
master← Head:useJsTail📝 Commits (1)
4ee667fUse a full JS tail implementation📊 Changes
4 files changed (+196 additions, -56 deletions)
View changed files
📝
lib/tail.js(+106 -44)📝
package-lock.json(+52 -9)📝
package.json(+2 -1)📝
test/tail.js(+36 -2)📄 Description
In order to have the same behaviour between Linux and Windows (related to this issue: #197), I've switched to a lib that provide a JS only tail
This is still a work in progress, I still have to test it on Windows server, but I don't have it right now.
With this implementation, it's difficult to reproduce the same, so I changed the output (also, I allowed stdin to be followed along with other files):
Let me know what do you think about it :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.