mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
16 lines
752 B
HTML
16 lines
752 B
HTML
|
<script type="text/x-red" data-help-name="tail">
|
||
|
<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>Input</h3>
|
||
|
<dl class="message-properties">
|
||
|
<dt class="optional">filename <span class="property-type">string</span></dt>
|
||
|
<dd>If not configured in the node, this optional property sets the name of the file to be tailed.
|
||
|
If an empty string <code>""</code> is received, the tailing will stop.</dd>
|
||
|
</dl>
|
||
|
<h3>Outputs</h3>
|
||
|
<ul>
|
||
|
<li>Text (UTF-8) files will be returned as strings.</li>
|
||
|
<li>Binary files will be returned as Buffer objects.</li>
|
||
|
</ul>
|
||
|
</script>
|