<commit_before># Dead-simple live injection of Brunch-built CSS/JS files in the browser

[![Build Status](https://travis-ci.org/deliciousinsights/fb-flo-brunch.svg)](https://travis-ci.org/deliciousinsights/fb-flo-brunch)
[![Dependency status](https://david-dm.org/deliciousinsights/fb-flo-brunch.svg)](https://david-dm.org/deliciousinsights/fb-flo-brunch)
[![Dev Dependency status](https://david-dm.org/deliciousinsights/fb-flo-brunch/dev-status.svg)](https://david-dm.org/deliciousinsights/fb-flo-brunch#info=devDependencies&view=table)
[![Code Climate](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch/badges/gpa.svg)](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch)

[![NPM](https://nodei.co/npm/fb-flo-brunch.png)](https://nodei.co/npm/fb-flo-brunch/)

## Brunch?  fb-flo?  What?

* **[Brunch](http://brunch.io)** is a kickass front-end app assets builder; basically it's what most people trod through the swamps of Grunt, Gulp or what-have-you for, only much, much better and far, far, simpler to use.
* **[fb-flo](https://facebook.github.io/fb-flo/)** is a great little system by Facebook to let you live update CSS or JS files inside an open browser page (instead of just reloading the whole thing).  As it depends on JS runtime's hotswap capabilities, it's not available everywhere yet; but for Chrome, it kinda rules.

The only thing is, you need to write your own fb-flo server, which is a tiny Node.js program; most of the time, that just means copy-pasting the (small) example code from their homepage, and then running it.  But for Brunch users, the ideal way would be through a plugin that auto-starts and auto-stops the server, and figures out automatically what to watch (the final results of the build pipeline).

So we made fb-flo-brunch: your lovely Brunch plugin to have automatic fb-flo capability over your watched build!

## Installing

Get in your Brunch-using project's root directory, and just install the plugin:

```sh
$ npm install --save-dev fb-flo-brunch
```<commit_msg>Added CC test cov badge<commit_after># Dead-simple live injection of Brunch-built CSS/JS files in the browser

[![Build Status](https://travis-ci.org/deliciousinsights/fb-flo-brunch.svg)](https://travis-ci.org/deliciousinsights/fb-flo-brunch)
[![Dependency status](https://david-dm.org/deliciousinsights/fb-flo-brunch.svg)](https://david-dm.org/deliciousinsights/fb-flo-brunch)
[![Dev Dependency status](https://david-dm.org/deliciousinsights/fb-flo-brunch/dev-status.svg)](https://david-dm.org/deliciousinsights/fb-flo-brunch#info=devDependencies&view=table)
[![Code Climate](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch/badges/gpa.svg)](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch)
[![Test Coverage](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch/badges/coverage.svg)](https://codeclimate.com/github/deliciousinsights/fb-flo-brunch)

[![NPM](https://nodei.co/npm/fb-flo-brunch.png)](https://nodei.co/npm/fb-flo-brunch/)

## Brunch?  fb-flo?  What?

* **[Brunch](http://brunch.io)** is a kickass front-end app assets builder; basically it's what most people trod through the swamps of Grunt, Gulp or what-have-you for, only much, much better and far, far, simpler to use.
* **[fb-flo](https://facebook.github.io/fb-flo/)** is a great little system by Facebook to let you live update CSS or JS files inside an open browser page (instead of just reloading the whole thing).  As it depends on JS runtime's hotswap capabilities, it's not available everywhere yet; but for Chrome, it kinda rules.

The only thing is, you need to write your own fb-flo server, which is a tiny Node.js program; most of the time, that just means copy-pasting the (small) example code from their homepage, and then running it.  But for Brunch users, the ideal way would be through a plugin that auto-starts and auto-stops the server, and figures out automatically what to watch (the final results of the build pipeline).

So we made fb-flo-brunch: your lovely Brunch plugin to have automatic fb-flo capability over your watched build!

## Installing

Get in your Brunch-using project's root directory, and just install the plugin:

```sh
$ npm install --save-dev fb-flo-brunch
```
{'fraction_non_alphanumeric': 0.1259731068648266, 'fraction_numerical': 0.0, 'mean_word_length': 4.808219178082192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '999112', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1311, 'n_words': 424}