index.js
function() {
              bundle.browserify.pipeline.get('deps').push(through.obj(function(row, enc, next) {
                var file = row.expose ? bundle.browserify._expose[row.id] : row.file;

                if (self.cache) {
                  bundle.browserifyOptions.cache[file] = {
                    source: row.source,
                    deps: xtend({}, row.deps)
                  };
                }

                this.push(row);
                next();
              }));
            }
function() {
              bundle.browserify.pipeline.get('deps').push(through.obj(function(row, enc, next) {
                var file = row.expose ? bundle.browserify._expose[row.id] : row.file;

                if (self.cache) {
                  bundle.browserifyOptions.cache[file] = {
                    source: row.source,
                    deps: xtend({}, row.deps)
                  };
                }

                this.push(row);
                next();
              }));
            }
function ( ) { bundle . browserify . pipeline . get ( 'deps' ) . push ( through . obj ( function ( row , enc , next ) { var file = row . expose ? bundle . browserify . _expose [ row . id ] : row . file ; if ( self . cache ) { bundle . browserifyOptions . cache [ file ] = { source : row . source , deps : xtend ( { } , row . deps ) } ; } this . push ( row ) ; next ( ) ; } ) ) ; }
Watch dependencies for changes and invalidate the cache when needed
Watch dependencies for changes and invalidate the cache when needed