Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[dist] Small Fix

  • Loading branch information...
commit 18cb8a243cd3040fee8b750f6d02256d7deffafe 1 parent 2efb9bf
@alejandro alejandro authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/watcher.js
  2. +1 −1  package.json
View
2  lib/watcher.js
@@ -90,7 +90,7 @@ Watcher.prototype.emitter = function(options){
msg : msg
}
var callout = http.request(endPoint,function(response){
- if (response.code==200){
+ if (response){
process.exit(0)
}
});
View
2  package.json
@@ -9,7 +9,7 @@
},
"main":"./lib/watcher.js",
"bin": {
- "watcher": "./bin/watcher"
+ "watcher": "./lib/watcher.js"
},
"engines": ">=0.4.x",
"preferGlobal":"true"
Please sign in to comment.
Something went wrong with that request. Please try again.