Merge pull request +7596 from c9/fix-debug

Fix stdout maxBuffer exceeded breaking debugger
pull/117/merge
Harutyun Amirjanyan 2015-06-05 13:14:25 +04:00
commit 63d82b21f0
1 zmienionych plików z 2 dodań i 2 usunięć

4
node_modules/vfs-local/localfs.js wygenerowano vendored
Wyświetl plik

@ -1606,8 +1606,8 @@ module.exports = function setup(fsOptions) {
function fetchPid(callback, retries){
if (!retries) retries = 0;
_execFile("ps", ["ax"],
function(err, stdout){
_execFile("ps", ["ax"], { maxBuffer: 1000 * 1024 },
function(err, stdout){
var matches = (stdout || "").split("\n").filter(function(line) {
return line.indexOf(watchFile) > -1
&& !/\-L cloud9[\d\.]+ new/.test(line)