Comparing version 0.3.9 to 0.4.0
@@ -6,3 +6,3 @@ { | ||
"description": "tail a file in node", | ||
"version": "0.3.9", | ||
"version": "0.4.0", | ||
"repository": { | ||
@@ -9,0 +9,0 @@ "type": "git", |
@@ -33,3 +33,3 @@ #tail | ||
new Tail(fileToTail, lineSeparator, fromBeginning, watchoptions) | ||
new Tail(fileToTail, lineSeparator, watchOptions,fromBeginning) | ||
``` | ||
@@ -39,4 +39,4 @@ | ||
* `lineSeparator` is the line separator token (default "\n") | ||
* `watchOptions` is the full set of options that can be passed to `fs.watch` as per node documentation (default: {}) | ||
* `fromBeginning` force the tail of the file from the very beginning of it instead of from the first new line that will be appended(default: "\n") | ||
* `watchOptions` is the full set of options that can be passed to `fs.watch` as per node documentation (default: {}) | ||
@@ -43,0 +43,0 @@ The only mandatory one is the first, i.e. the the file you want to tail. |
6061