1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

enhance fs.notify help text

windows paths need double slashes \\
This commit is contained in:
Dave C-J 2014-01-13 20:25:58 +00:00
parent 82f58393c7
commit ad675c00d8

View File

@ -23,13 +23,16 @@
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div id="node-input-tip" class="form-tips">On Windows you must use double slashes \\ in any directory names.</div>
</script>
<script type="text/x-red" data-help-name="watch">
<p>Watches a file or directory for any changes.</p>
<p>You can enter a list of comma separated files, or directories if you like. You will need to put " around any that have spaces in.</p>
<p>The filename of the file that actually changed is put into <b>msg.payload</b>, while a stringified version of the watched criteria is returned in <b>msg.topic</b>.</p>
<p>Of course in Linux, <i>everything</i> could be a file and thus watched...</p>
<p>Watches a file or directory for any changes.</p>
<p>You can enter a list of comma separated files, or directories if you like. You will need to put " around any that have spaces in.</p>
<p>On Windows you must use double slashes \\ in any directory names.</p>
<p>The full filename of the file that actually changed is put into <b>msg.payload</b>, while a stringified version of the watched criteria is returned in <b>msg.topic</b>.</p>
<p>msg.file contains just the short filename of the file that changed.</p>
<p>Of course in Linux, <i>everything</i> could be a file and thus watched...</p>
</script>
<script type="text/javascript">