Listener receives the current buffer when it attaches to a process.