#5 has been resolved thus bringing logging.
Following features were added:
- Logging is now supported by providing an object with an
infofunction to the options under the name:logger. e.g.assetCacheBust('some html', 'root path', { logger: { info: function (msg) { /* do something with the msg*/ } } } - A verbose option was added to the CLI so you can see what it's doing. This is useful as a debugging tool when your assets are not being cache busted. Use it by typing
asset-cache-bust some.html --verbose. See the CLI help for more information (asset-cache-bust --help).