call-after-brunch
Version:
A micro-plugin to run some javascript after Brunch's compile, inspired by after-brunch
17 lines (13 loc) • 492 B
Markdown
## call-after-brunch
An easy way to call some javascript everytime [brunch](http://brunch.io) compiles.
## Usage
Add `"call-after-brunch": "x.y.z"` to `package.json` of your brunch app.
Or `npm install callafter-brunch --save`.
Then in your `config.coffee` just define the javascript (or coffeescript of course) functon to call in the callAfterBrunch property:
```coffeescript
exports.config =
…
plugins:
callAfterBrunch: (generatedFiles) ->
console.log generatedFiles
```