Closed greim closed 9 years ago
You can implement another caching strategy same way watchify implements an in-memory cache
@greim you can give it a try to persistify which implements a cache that can be persisted to disk, reducing the time for builds. It is a wrapper over watchify/browserify, so the cli commands should be interchangeable.
@royriojas - Thanks!
Restarting my node process with watchify is slow, because I'm generating lots of bundles. Is it possible to have it store ASTs and/or compiled file strings in some kind process-external cache? Maybe something I can implement/override for the caching piece, in order to store in redis or whatever rather than in memory? Or does this exist already and I just missed it? Thanks.