substack/node-browserify — Issue #101: Possible Mem Leak w/ watch ( version 1.8.1 )
Author: hughfdjackson
Created: 2011-12-20 22:02:23+00:00
State: open

Possibly related to ticket #100

When using:

```bash
browserify --watch -e main.js -o game.bundle.js
```

if I leave it for a while, I get this error:

```
hugh-jacksons-macbook:src hugh$ browserify --watch -e main.js -o game.bundle.js(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace:
at StatWatcher. (events.js:126:17)
at Object.watchFile (fs.js:523:8)
at Array.0 (/usr/local/lib/node_modules/browserify/index.js:102:24)
at EventEmitter._tickCallback (node.js:126:26)

```