# Node-RED watch node, files edited / created at the same time

**URL:** <https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666>\
**Category:** General\
**Created:** [29 September 2021 10:27 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666 "2021-09-29T10:27:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbedev](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@hbedev](https://discourse.nodered.org/u/hbedev)\
**Post date:** [29 September 2021 10:27 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/1 "2021-09-29T10:27:23Z")

</div>

Hi,  
i'm using the **watch** node provided by Node-RED.

![Schermata 2021-09-29 alle 12.27.43](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/45672d1a8122889f79ca385b3fbce00c946c9f1b.png)

Does this node support multiple events at the same time?

I need to "watch" a folder where 2 files are always updated at the same time. But i am always notified of the modification of only one of the 2 files and not both.

Is this normal node operation?

Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 September 2021 11:03 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/2 "2021-09-29T11:03:27Z")

</div>

Welcome to the forum @hbedev.

What OS are you using? We cannot test it without knowing that. Also show us how you have configured the node please.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 September 2021 11:05 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/3 "2021-09-29T11:05:35Z")

</div>

Also please feed the output into a debug node set to output Complete Message and show us what it says.

---

<div class="post-metadata">

**Author:** ![hbedev](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@hbedev](https://discourse.nodered.org/u/hbedev)\
**Post date:** [29 September 2021 11:22 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/4 "2021-09-29T11:22:32Z")

</div>

- Windows 10
- Node-RED v2.0.6

**Node config**  
 ![Schermata 2021-09-29 alle 13.14.10](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17fcf809719586041e44037514f6e9a598f82598.png)

**Debug**  
 ![sss](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/1/21e2041cbd0896638dbc145db337851d7eb91fa4.png)

Debugging of the second file is not detected.

**Test**  
I have run tests with this node ([node-red-contrib-watchdirectory (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-watchdirectory)), and here i get both reports, for both files.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 September 2021 14:45 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/5 "2021-09-29T14:45:43Z")

</div>

Sorry, I don't use Windows so can't test this easily.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 November 2021 14:46 UTC](https://discourse.nodered.org/t/node-red-watch-node-files-edited-created-at-the-same-time/51666/6 "2021-11-28T14:46:11Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
