Thanks Dave. I will give that a try. But wouldn't I then just have an array of all the messages, repeating? Are you suggesting I then run a unique on the array captured by the function node? I'm not sure I can guess how long it will take for all the messages to arrive. The issue appears to be that Watch is detecting the changes in file size as a new file is copied into the dir. I may be copying very large files into the dir and they may take some time to arrive. What if another file starts copying in just before my time out dumps the last accumulation of messages? Wouldn't I have a sort of race condition where I still end up with two copies of the message naming the file? (part of in in the first array, and part in the second) They would still unique to what look like duplicate messages. This is why I'm so confused how to solve this. It seems like there is no elegant solution short of a smarter Watch node.
The Watch node doesn't seem to have enough options. It notices every single file change. It would be nice if it exposed the option to only send a signal only in the case of specific changes or combination of changes. For my particular use, detecting a file close or MV would be the most useful.