Closed alihammad-gist closed 9 years ago
Perhaps, but it seems to me that caching with mtime invalidation is really the only benefit browserify-incremental
provides. Your use case could be achieved by just using a thin wrapper around browserify which manages the cache
opt which browserify takes in its constructor. If you know which files have changed, all you have to do is delete them from the cache
opt object before bundling.
Thank you very much. I'd do as you suggested.
It would be nice to pass in the command line the file(s) which have updated to avoid any cache checks at all, for faster bundling.