always-tail
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "always-tail", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "continuous file tail. robust enough to survive rollovers.", | ||
@@ -9,3 +9,3 @@ "main": "index.js", | ||
}, | ||
"repository": "", | ||
"repository": "http://github.com/jandre/always-tail", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "tail" |
@@ -5,3 +5,4 @@ # always-tail | ||
Survives truncates, file rollovers (e.g. `mv /var/log/test /var/log/test.1`), and unlink. | ||
It differs from other `tail` modules in that it survives truncates, | ||
file rollovers (e.g. `mv /var/log/test /var/log/test.1`), and unlink. | ||
@@ -25,3 +26,3 @@ It does this by monitoring the filename, and when the inode changes, | ||
if (!fs.existsSync()) fs.writeFileSync(filename, ""); | ||
if (!fs.existsSync(filename)) fs.writeFileSync(filename, ""); | ||
@@ -28,0 +29,0 @@ var tail = new Tail(filename, '\n'); |
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
21877
64