Watch node problem when a file is deleted


I am currently having an issue with watch node. I want to trigger the watch node when a new file is created in a directory but not when a file is deleted in the same directory. Is this possible by using only the watch node?


It will trigger for (hopefully) any action on a file in the directory being watched. - but if you look at the full msg properties - you will see that when created it should have a size - and when deleted it won't and should also have a type of "none".

This may be OS dependant - but either way you should be able to work out what was a delete and what was a create.


Thanks for the quick answer i had already noticed the size attribute but i didn't know about type. Problem solved