broccoli-whatchanged

0.0.3 • Public • Published

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.
});

Readme

Keywords

Package Sidebar

Install

npm i broccoli-whatchanged

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • stefanpenner