browserify / watchify

watch mode for browserify builds
Other
1.79k stars 181 forks source link

How do you use packageCache? #92

Closed builtbylane closed 9 years ago

builtbylane commented 10 years ago

and cache for that matter? is there a way to cache non-changing assets?

dustMason commented 9 years ago

+1. it looks like var pkgcache and the packageCache option isn't used anymore?

zertosh commented 9 years ago

By passing in an object called packageCache you're actually feeding the module-deps cache, but you're right, it's not being "used" here - in the sense that it's not getting invalidated when a package.json changes.