Skip to content
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

[fix] Get tailFile function working on latest/all node versions #642

Merged
merged 1 commit into from
Jun 30, 2015

Conversation

chjj
Copy link
Member

@chjj chjj commented Jun 10, 2015

When node changed the fs.ReadStream to use the new Streams API, the tricky tailFile function I originally wrote broke because resume/destroy methods worked differently (and I was sort of hooking into them and abusing them). I rewrote tailFile from scratch for use in other projects. It just uses the lowest level fs functions now, without any shortcuts like before. This should work in all node versions.

The tests seem to be passing.

@indexzero
Copy link
Member

lgtm. Lets review at the next WG meeting on Tuesday.

indexzero added a commit that referenced this pull request Jun 30, 2015
[fix] Get `tailFile` function working on latest/all node versions
@indexzero indexzero merged commit 7b705da into master Jun 30, 2015
@indexzero indexzero deleted the fix_tail branch June 30, 2015 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants