0.0.3 • Published 8 years ago

broccoli-whatchanged v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Usage

Broccoli-whatchanged is a debug plugin, providing visibility in what changed.

basic

var whatchanged = require('broccoli-whatchanged');
var lib = 'lib';

module.exports = whatchanged(lib);
// will log on each rebuild "what changed, [operation, relativePath]"

\w callback

var whatchanged = require('broccoli-whatchanged');
var lib = 'lib';

module.exports = whatchanged(lib, function({ patches, beforeTree, afterTree, plugin }) {
  debugger; debug, or do what you want.
});