add Directory Listener
Adds a new DirectoryEventListener to this directory using the given listener lambda
See also
Parameters
action
the action to register the listener for
listener
the lambda function used for the DirectoryEventListener