abrowserify
==========
[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]
[bd_repo_url]: https://github.com/a-labo/abrowserify
[bd_travis_url]: http://travis-ci.org/a-labo/abrowserify
[bd_travis_shield_url]: http://img.shields.io/travis/a-labo/abrowserify.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/a-labo/abrowserify
[bd_travis_com_shield_url]: https://api.travis-ci.com/a-labo/abrowserify.svg?token=
[bd_license_url]: https://github.com/a-labo/abrowserify/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/a-labo/abrowserify
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/a-labo/abrowserify.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/a-labo/abrowserify.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/a-labo/abrowserify
[bd_gemnasium_shield_url]: https://gemnasium.com/a-labo/abrowserify.svg
[bd_npm_url]: http://www.npmjs.org/package/abrowserify
[bd_npm_shield_url]: http://img.shields.io/npm/v/abrowserify.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
Bundle with browserify only when file changed from last time
Installation
-----
```bash
$ npm install abrowserify --save
```
Usage
---------
```javascript
'use strict'
const abrowserify = require('abrowserify')
const co = require('co')
co(function * () {
yield abrowserify('src/entrypoint.js', 'public/bundle.js', {
debug: true
})
}).catch((err) => console.error(err))
```
Signature
---------
`abrowserify(src, dest, options) -> Promise`
### Params
| Name | Type | Description |
| ----- | --- | -------- |
| src | string | Source file name |
| dest | string | Destination file name |
| options | Object | Optional settings |
| options.status | string | Status file path |
| options.cache | string | Cache file path |
| options.reflects | string[] | File patterns to reflects changes |
License
-------
This software is released under the [MIT License](https://github.com/a-labo/abrowserify/blob/master/LICENSE).
Links
------