node-red-nodes/storage/tail/locales/en-US/28-tail.html

21 lines
956 B
HTML

<script type="text/html" data-help-name="tail">
<p>Tails (watches for things to be added) to the configured file.</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>
<dl class="message-properties">
<dt class="optional">payload <span class="property-type">string | buffer</span></dt>
<dd>
<ul>
<li>Text (UTF-8) files will be returned as strings.</li>
<li>Binary files will be returned as buffer objects.</li>
</ul>
</dd>
</dl>
<p><b>Note</b>: On Windows you may need to close the file between writes for any updates to be registered.</p>
</script>