Skip to content

Commit 0662bc0

Browse files
committed
Re-enabled exit code.
1 parent dfb3e9d commit 0662bc0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bin/ki

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ var lib = path.join(path.dirname(fs.realpathSync(__filename)),'../lib');
66

77
var ret = require(lib + '/ki_run').run();
88

9-
//process.exit(ret);
9+
if (ret != -1) {
10+
process.exit(ret);
11+
}
1012

lib/ki_run.js

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ exports.run = function() {
132132
var includeFiles = includes.forEach(function(path) {
133133
fs.watchFile(path, watchOptions, onIncludedFileChanged);
134134
});
135+
return -1;
135136
}
136137

137138
return ret;

0 commit comments

Comments
 (0)