baudehlo/node-phantom-simple — pull request #20 by EricHennigan (2014-02-12 09:59:27+00:00)
Title: Have the bridge report the pid of child phantomjs

My computer (Ubuntu 12.04.4 LTS) was reporting phantom.pid as a forked child nodejs process, which itself had a child phantomjs process. Consequently, the pids did not match in netstat's output. I modified bridge.js to report the pid of the phantomjs process, so that it could be picked up and found in netstat's output.