diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -46,7 +46,14 @@ module.exports = (rootDirs, { delay = 50, suppressReporting }) => {
 		}
 	});
 
-	return emitter;
+	return {
+		on(name, fn) {
+			emitter.on(name, fn);
+		},
+		terminate() {
+			watcher.close();
+		}
+	};
 };
 
 function notifier(delay, callback) {
Add option to shut down watcher

    let watcher = niteOwl(…)
    …
    watcher.terminate();

this is primarily useful for tests, as otherwise the watcher being
persistent will prevent the process from exiting