a simple file watcher in node