patrick-steele-idem / browser-refresh

Node.js module to enable server restart and browser refresh in response to file modifications
110 stars 18 forks source link

Event listener memory leak #10

Closed patrick-steele-idem closed 9 years ago

patrick-steele-idem commented 9 years ago
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at process.addListener (events.js:160:15)
    at process.on.process.addListener (node.js:796:26)
    at Launcher.fork (/Users/psteeleidem/development/github/patrick-steele-idem/browser-refresh/lib/Launcher.js:67:17)
    at Launcher.<anonymous> (/Users/psteeleidem/development/github/patrick-steele-idem/browser-refresh/lib/Launcher.js:94:22)
    at ChildProcess.g (events.js:180:16)
    at ChildProcess.emit (events.js:117:20)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)