Update tail node to accept/display regex.

To address Issue #555
This commit is contained in:
Dave Conway-Jones
2019-07-12 12:22:13 +01:00
parent 6030b45735
commit 55698e637d
4 changed files with 8 additions and 9 deletions

View File

@@ -25,8 +25,8 @@
</script>
<script type="text/x-red" data-help-name="tail">
<p>Tails (watches for things to be added) to the configured file. (Linux/Mac ONLY)</p>
<p>This will not work on Windows filesystems, as it relies on the <b>tail -F</b> command.</p>
<p>Tails (watches for things to be added) to the configured file.</p>
<p>Note: On Windows you may need to close the file between writes for any updates to be registered.</p>
<h3>Outputs</h3>
<ul>
<li>Text (UTF-8) files will be returned as strings.</li>
@@ -40,7 +40,7 @@
defaults: {
name: {value:""},
filetype: {value:"text"},
split: {value:"[\r]{0,1}\n"},
split: {value:"[\\r]{0,1}\\n"},
filename: {value:"",required:true}
},
color:"BurlyWood",