simple example of how to use the node file watcher