before-brunch

Plugin that runs commands before Brunch compiling.


Keywords
brunch, before, plugin, commands, post-compile
License
MIT
Install
npm install before-brunch@0.0.5

Documentation

before-brunch

Usage

Add "before-brunch": "x.y.z" to package.json of your brunch app. Or npm install before-brunch --save.

Then in your config.coffee just add any commands to the beforeBrunch array. For example, you might want to use styledocco to create a live styleguide of your stylesheets.

exports.config =plugins:
    beforeBrunch: [
      'echo "Prepare for compile\!"'
    ]