@atom/notify
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -16,2 +16,3 @@ const { spawn } = require("child_process"); | ||
); | ||
process.on("exit", this.kill.bind(this)); | ||
@@ -39,3 +40,3 @@ let stderr = ""; | ||
if (this.childProcess) { | ||
await this._sendRequest({type: "unwatchAll"}); | ||
await this._sendRequest({ type: "unwatchAll" }); | ||
this.childProcess.stdin.end(); | ||
@@ -83,3 +84,3 @@ this.childProcess.kill(); | ||
const requestId = this.nextRequestId++; | ||
const request = Object.assign({}, message, {requestId}); | ||
const request = Object.assign({}, message, { requestId }); | ||
this.childProcess.stdin.write(JSON.stringify(request) + "\n"); | ||
@@ -86,0 +87,0 @@ return new Promise((resolve, reject) => { |
{ | ||
"name": "@atom/notify", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Cross-platform file system notifications", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
5292
157