fb-watchman
Advanced tools
Comparing version 1.9.0 to 1.9.1
11
index.js
@@ -169,3 +169,3 @@ /* Copyright 2014-present Facebook, Inc. | ||
} | ||
console.log('Watchman: ', error.message); | ||
console.error('Watchman: ', error.message); | ||
self.emit('error', error); | ||
@@ -191,3 +191,3 @@ } | ||
stderr.push(data); | ||
console.log(data); | ||
console.error(data); | ||
}); | ||
@@ -198,7 +198,8 @@ proc.on('error', function(error) { | ||
proc.on('close', function (code) { | ||
proc.on('close', function (code, signal) { | ||
if (code !== 0) { | ||
spawnError(new Error( | ||
self.watchmanBinaryPath + args.join(' ') + | ||
' returned with exit code ' + code + ' ' + stderr.join(''))); | ||
self.watchmanBinaryPath + ' ' + args.join(' ') + | ||
' returned with exit code=' + code + ', signal=' + | ||
signal + ', stderr= ' + stderr.join(''))); | ||
return; | ||
@@ -205,0 +206,0 @@ } |
{ | ||
"name": "fb-watchman", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Bindings for the Watchman file watching service", | ||
@@ -33,4 +33,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"bser": "^1.0.2" | ||
"bser": "^1.0.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10833
287
Updatedbser@^1.0.3